diff --git a/LookML_Dashboard/1_Order_Fulfillment.dashboard.lookml b/LookML_Dashboard/1_Order_Fulfillment.dashboard.lookml index c1b8b84b..ffb81442 100644 --- a/LookML_Dashboard/1_Order_Fulfillment.dashboard.lookml +++ b/LookML_Dashboard/1_Order_Fulfillment.dashboard.lookml @@ -1,10 +1,44 @@ -- dashboard: sap_order_to_cash_02c_01_order_fulfillment_performance_tuning - title: "[SAP ORDER TO CASH] 02C 01: Order Fulfillment" +- dashboard: order_fulfillment + title: "[SAP OTC AR] 01: Order Fulfillment" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: lHbnrTBMjvg1YjLyNL9x92 elements: + - title: Navigation Bar + name: Navigation Bar + model: cortex_sap_operational + explore: Navigation_Bar + type: single_value + fields: [Navigation_Bar.dash_nav] + limit: 500 + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false + show_view_names: false + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + limit_displayed_rows: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + defaults_version: 1 + series_types: {} + listen: {} + row: 0 + col: 0 + width: 24 + height: 2 - name: Order Fulfillment type: text title_text: Order Fulfillment @@ -14,12 +48,11 @@ col: 0 width: 24 height: 2 - - name: Delivery - Performance + - name: ' Delivery + Performance' type: text - title_text: Delivery - Performance - subtitle_text: '' + title_text: ' Delivery + Performance' body_text: '' row: 8 col: 0 @@ -43,16 +76,8 @@ conditional_formatting_include_nulls: false value_format: 0.00% defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 4 col: 6 width: 6 @@ -75,16 +100,8 @@ conditional_formatting_include_nulls: false value_format: 0.00% defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 4 col: 0 width: 6 @@ -107,16 +124,8 @@ conditional_formatting_include_nulls: false value_format: 0.00% defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 4 col: 12 width: 6 @@ -148,16 +157,8 @@ limit_displayed_rows: false defaults_version: 1 series_types: {} - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 4 col: 18 width: 6 @@ -167,17 +168,16 @@ model: cortex_sap_operational explore: sales_orders type: looker_column - fields: [average_of_order_cycle_time_1, materials_md.material_text_maktx] + fields: [average_of_order_cycle_time_2, materials_md.material_text_maktx] filters: - deliveries.Order_Cycle_Time: NOT NULL - sorts: [average_of_order_cycle_time_1 desc] + average_of_order_cycle_time_2: ">0" + sorts: [materials_md.material_text_maktx] limit: 500 dynamic_fields: [{measure: average_of_order_cycle_time, based_on: deliveries.Order_Cycle_Time, expression: '', label: Average of Order Cycle Time, type: average, _kind_hint: measure, - _type_hint: number, id: cy7lHmcwoH}, {category: measure, expression: '', label: Average - of Order Cycle Time, value_format: !!null '', value_format_name: decimal_2, - based_on: deliveries.Order_Cycle_Time, _kind_hint: measure, measure: average_of_order_cycle_time_1, - type: average, _type_hint: number}] + _type_hint: number, id: cy7lHmcwoH}, {measure: average_of_order_cycle_time_2, + based_on: deliveries.Order_Cycle_Time, expression: '', label: Average of Order + Cycle Time, type: average, _kind_hint: measure, _type_hint: number, id: ro6GfqDwBY}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -193,7 +193,7 @@ plot_size_by_field: false trellis: '' stacking: '' - limit_displayed_rows: true + limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false @@ -210,21 +210,9 @@ showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}] x_axis_label: Product - limit_displayed_rows_values: - show_hide: show - first_last: first - num_rows: '10' - label_value_format: '0.00' defaults_version: 1 - hidden_fields: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 17 col: 0 width: 24 @@ -272,7 +260,6 @@ y_axis_combined: true show_null_points: true interpolation: linear - y_axes: [] x_axis_label: Month series_colors: on_time: "#ffe22c" @@ -283,53 +270,16 @@ hidden_fields: [deliveries.count_on_time_delivery, deliveries.count_in_full_delivery, deliveries.count_otif, deliveries.count_of_deliveries] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext + Year: deliveries.date_created_erdat_date row: 10 col: 0 width: 24 height: 7 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.dash_nav] - limit: 500 - column_limit: 50 - custom_color_enabled: true - show_single_value_title: true - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} - defaults_version: 1 - listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext - row: 0 - col: 0 - width: 24 - height: 2 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -339,20 +289,7 @@ model: cortex_sap_operational explore: sales_orders listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: currency_conversion_new.tcurr + field: deliveries.date_created_erdat_date - name: Region title: Region type: field_filter @@ -404,7 +341,7 @@ model: cortex_sap_operational explore: sales_orders listens_to_filters: [] - field: divisions_md.division_name_vtext + field: deliveries.division_spart - name: Product title: Product type: field_filter @@ -418,3 +355,17 @@ explore: sales_orders listens_to_filters: [] field: materials_md.material_text_maktx + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/1a_Delivery_Performance.dashboard.lookml b/LookML_Dashboard/1a_Delivery_Performance.dashboard.lookml index 621f2f28..8d4ff042 100644 --- a/LookML_Dashboard/1a_Delivery_Performance.dashboard.lookml +++ b/LookML_Dashboard/1a_Delivery_Performance.dashboard.lookml @@ -1,34 +1,26 @@ -- dashboard: sap_order_to_cash_o2c_01_a_delivery_performance_performance_tuning - title: "[SAP ORDER TO CASH] O2C 01_a: Delivery Performance" +- dashboard: delivery_performance + title: "[SAP OTC AR] 01_a: Delivery Performance" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: 9XW5FidZo6dLdTLY0OJADx elements: - title: Delivery Performance name: Delivery Performance model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [deliveries.delivery_vbeln, deliveries.delivery_item_posnr, materials_md.material_text_maktx, - deliveries.delivery_date_lfdat_date, deliveries.date__proof_of_delivery___podat_date, - sales_orders.sales_document_vbeln, deliveries.actual_quantity_delivered_in_sales_units_lfimg, - sales_orders.base_unit_of_measure_meins, deliveries.delivered_value, sales_orders.currency_waerk, - deliveries.OnTime, deliveries.InFull, deliveries.Late_Delivery, currency_conversion_new.ukurs, - currency_conversion_new.tcurr, delivered_value_global_currency_1, sales_orders.max_sold_to_party_name, - sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.delivery, data_intelligence_otc.delivery_line_item, + data_intelligence_otc.product, data_intelligence_otc.req_delivery_date, data_intelligence_otc.actual_delivery_date, + data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, data_intelligence_otc.Bill_To_Party, + data_intelligence_otc.sales_order, data_intelligence_otc.delivered_qty, data_intelligence_otc.Base_UoM, + data_intelligence_otc.Exchange_Rate_of_Delivered_Value, data_intelligence_otc.delivered_value_Local_Currency, + data_intelligence_otc.Local_Currency_Key, data_intelligence_otc.delivered_value_Global_Currency, + data_intelligence_otc.Global_Currency, data_intelligence_otc.OnTime, data_intelligence_otc.InFull, + data_intelligence_otc.OnTime_InFull, data_intelligence_otc.Late_Delivery] filters: - deliveries.Delivery: 'Yes' - sorts: [deliveries.date__proof_of_delivery___podat_date desc] - limit: 500 - column_limit: 50 - dynamic_fields: [{category: table_calculation, expression: 'if(${deliveries.OnTime}=yes - AND ${deliveries.InFull}=yes,yes,no)', label: OTIF, value_format: !!null '', - value_format_name: !!null '', _kind_hint: dimension, table_calculation: otif, - _type_hint: yesno, id: PcvLOnUP9J}, {category: dimension, expression: "${deliveries.delivered_value}*${currency_conversion_new.ukurs}", - label: Delivered Value Global Currency, value_format: !!null '', value_format_name: decimal_2, - dimension: delivered_value_global_currency_1, _kind_hint: dimension, _type_hint: number, - id: wmVCayXyDz}] + data_intelligence_otc.delivery: "-NULL" + sorts: [data_intelligence_otc.actual_delivery_date desc] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -45,100 +37,98 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - pinned_columns: - "$$$_row_numbers_$$$": left - sales_orders.max_bill_to_party_name: left - sales_orders.max_ship_to_party_name: left - sales_orders.max_sold_to_party_name: left - column_order: ["$$$_row_numbers_$$$", sales_orders.max_bill_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_sold_to_party_name, deliveries.delivery_vbeln, deliveries.delivery_item_posnr, - materials_md.material_text_maktx, deliveries.delivery_date_lfdat_date, deliveries.date__proof_of_delivery___podat_date, - customers_md.name2_name2, sales_orders.sales_document_vbeln, deliveries.actual_quantity_delivered_in_sales_units_lfimg, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, deliveries.delivered_value, - sales_orders.currency_waerk, currency_conversion_new.tcurr, delivered_value_global_currency_1, - deliveries.OnTime, deliveries.InFull, deliveries.Late_Delivery, otif] show_totals: true show_row_totals: true truncate_header: false - series_labels: - deliveries.delivery_vbeln: Delivery - deliveries.delivery_item_posnr: Delivery line item - materials_md.material_text_maktx: Product - deliveries.delivery_date_lfdat_date: Req Delivery Date - deliveries.date__proof_of_delivery___podat_date: Actual Delivery Date - sales_orders.sold_to_party_kunnr: Sold to party - deliveries.ship_to_party_kunnr: Ship to party - sales_orders.sales_document_vbeln: Sales Order - deliveries.actual_quantity_delivered_in_sales_units_lfimg: Delivered Qty - sales_orders.base_unit_of_measure_meins: Base UoM - deliveries.delivered_value: Delivered Value Local currency - sales_orders.currency_waerk: Local Currency Key - otif: OTIF(yes/no) - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill toParty - currency_conversion_new.ukurs: Exchange Rate - currency_conversion_new.tcurr: Global Currency - sales_orders.max_sold_to_party_name: Sold To Party - sales_orders.max_ship_to_party_name: Ship To Party - sales_orders.max_bill_to_party_name: Bill To Party - series_cell_visualizations: {} + series_column_widths: + data_intelligence_otc.delivery: 120 + data_intelligence_otc.delivery_line_item: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.delivery_date: 120 + data_intelligence_otc.act_delivery_date: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.delivered_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.delivered_value_Local_Currency: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.actual_delivery_date: 120 + data_intelligence_otc.req_delivery_date: 120 + data_intelligence_otc.Global_Currency: 120 + data_intelligence_otc.Exchange_Rate_of_Delivered_Value: 120 + data_intelligence_otc.delivered_value_Global_Currency: 120 + data_intelligence_otc.OnTime: 120 + data_intelligence_otc.InFull: 120 + data_intelligence_otc.OnTime_InFull: 120 + data_intelligence_otc.Late_Delivery: 120 + series_text_format: + data_intelligence_otc.delivery: + align: left + data_intelligence_otc.delivery_line_item: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.delivery_date: + align: left + data_intelligence_otc.act_delivery_date: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.delivered_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.delivered_value_Local_Currency: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.actual_delivery_date: + align: left + data_intelligence_otc.req_delivery_date: + align: left + data_intelligence_otc.Global_Currency: + align: left + data_intelligence_otc.Exchange_Rate_of_Delivered_Value: + align: right + data_intelligence_otc.Late_Delivery: + align: right + data_intelligence_otc.OnTime_InFull: + align: right + data_intelligence_otc.InFull: + align: right + data_intelligence_otc.OnTime: + align: right + data_intelligence_otc.delivered_value_Global_Currency: + align: right + series_types: {} defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: sales_orders.division_spart - Product: materials_md.material_text_maktx - Sold to Party: customers_md.name1_name1 + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Currency: data_intelligence_otc.Currency_Required + Sold to Party: data_intelligence_otc.Sold_To_Party row: 0 col: 0 width: 24 - height: 11 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.Order_fulfillment] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - Sold to Party: customers_md.name1_name1 - row: 11 + height: 12 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 12 col: 0 width: 24 height: 2 @@ -146,7 +136,7 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -154,23 +144,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - options: [] - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -180,10 +156,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -193,10 +170,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -206,10 +184,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -219,10 +198,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -232,10 +212,24 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.product + - name: Currency + title: Currency + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.Currency_Required - name: Sold to Party title: Sold to Party type: field_filter @@ -243,10 +237,10 @@ allow_multiple_values: true required: false ui_config: - type: checkboxes + type: advanced display: popover options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: customers_md.name1_name1 + field: data_intelligence_otc.Sold_To_Party diff --git a/LookML_Dashboard/2_Order_Status_Snapshot.dashboard.lookml b/LookML_Dashboard/2_Order_Status_Snapshot.dashboard.lookml index 9db32b7c..9b93b487 100644 --- a/LookML_Dashboard/2_Order_Status_Snapshot.dashboard.lookml +++ b/LookML_Dashboard/2_Order_Status_Snapshot.dashboard.lookml @@ -1,30 +1,16 @@ -- dashboard: sap_order_to_cash_o2c_02_order_status_snapshot - title: "[SAP ORDER TO CASH] O2C 02: Order Status Snapshot" +- dashboard: order_status_snapshot + title: "[SAP OTC AR] 02: Order Status Snapshot" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: 7yeTGw3NJb448nhSCCGtGE elements: - - name: Order Status Snapshot - type: text - title_text: Order Status Snapshot - subtitle_text: How healthy is Order Fulfillment? - body_text: '' - row: 2 - col: 0 - width: 24 - height: 2 - - title: Avg Fill Rate % - name: Avg Fill Rate % + - title: Navigation Bar + name: Navigation Bar model: cortex_sap_operational - explore: sales_orders + explore: Navigation_Bar type: single_value - fields: [sales_orders.fill_rate] + fields: [Navigation_Bar.dash_nav] limit: 500 - column_limit: 50 - dynamic_fields: [{measure: average_of_fill_rate, based_on: sales_orders.fill_rate, - expression: '', label: Average of Fill Rate, type: average, _kind_hint: measure, - _type_hint: number, id: MHtgohgUyM}] custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -34,30 +20,39 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - value_format: '' + show_view_names: false + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + limit_displayed_rows: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 defaults_version: 1 - hidden_fields: [] - y_axes: [] - listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 4 - col: 6 - width: 6 - height: 4 - - title: Cancelled Orders - name: Cancelled Orders + series_types: {} + listen: {} + row: 0 + col: 0 + width: 24 + height: 2 + - title: Return Orders + name: Return Orders model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [sales_orders.canceled_order_percentage] - limit: 500 + fields: [data_intelligence_otc.Return_Order_Percentage] + limit: 5000 column_limit: 50 + dynamic_fields: [{measure: count_of_delivery, based_on: data_intelligence_otc.delivery, + expression: '', label: Count of Delivery, type: count_distinct, _kind_hint: measure, + _type_hint: number}, {category: table_calculation, expression: "${data_intelligence_otc.count_return_order}/${count_of_delivery}", + label: Return Order %, value_format: !!null '', value_format_name: !!null '', + _kind_hint: measure, table_calculation: return_order, _type_hint: number, + is_disabled: true}] custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -67,29 +62,61 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - value_format: 0.00"%" - defaults_version: 1 + value_format: 0.00% hidden_fields: [] - y_axes: [] + x_axis_gridlines: false + y_axis_gridlines: true + show_view_names: false + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + limit_displayed_rows: false + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" + defaults_version: 1 + series_types: {} listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product row: 4 - col: 18 + col: 12 width: 6 height: 4 - - title: Return Order - name: Return Order + - title: Cancelled Orders + name: Cancelled Orders model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [sales_orders.Return_Order_Percentage] + fields: [data_intelligence_otc.Cancelled_Order_Percentage] limit: 500 + column_limit: 50 + dynamic_fields: [{category: table_calculation, expression: "${data_intelligence_otc.count_canceled_order}/${data_intelligence_otc.count}", + label: Cancelled Order %, value_format: !!null '', value_format_name: !!null '', + _kind_hint: measure, table_calculation: cancelled_order, _type_hint: number, + is_disabled: true}] custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -99,30 +126,28 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - value_format: 0.00"%" + value_format: 0.00% defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product row: 4 - col: 12 + col: 18 width: 6 height: 4 - title: Order Vs Delivery Efficiency (Top 10 Products) name: Order Vs Delivery Efficiency (Top 10 Products) model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [materials_md.material_text_maktx, sales_orders.count_sales_orders_line_item, - deliveries.count_delivery_item_posnr] - sorts: [sales_orders.count_sales_orders_line_item desc 0] + fields: [data_intelligence_otc.avg_order_line_items, data_intelligence_otc.product, + data_intelligence_otc.average_deliveries_sales_orders] + sorts: [data_intelligence_otc.avg_order_line_items desc] limit: 500 column_limit: 50 x_axis_gridlines: false @@ -142,7 +167,7 @@ stacking: '' limit_displayed_rows: true legend_position: center - point_style: none + point_style: circle_outline show_value_labels: false label_density: 25 x_axis_scale: auto @@ -152,38 +177,59 @@ show_totals_labels: false show_silhouette: false totals_color: "#808080" + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 x_axis_label: Product limit_displayed_rows_values: show_hide: show first_last: first num_rows: '10' + series_types: {} series_colors: - sales_orders.count_sales_orders_line_item: "#ACE9F5" - deliveries.count_delivery_item_posnr: "#7CC8FA" + data_intelligence_otc.avg_order_line_items: "#ACE9F5" series_labels: - sales_orders.count_sales_orders_line_item: Total Sales Order Line Item - deliveries.count_delivery_item_posnr: Total Delivery Line Item + data_intelligence_otc.average_deliveries_sales_orders: Average Delivery Items + data_intelligence_otc.avg_order_line_items: Average Order Line Items + show_null_points: true + interpolation: linear defaults_version: 1 + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false + value_labels: legend + label_type: labPer listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product row: 8 col: 0 width: 24 - height: 8 - - title: One Touch Order - name: One Touch Order + height: 11 + - title: Avg Fill Rate% + name: Avg Fill Rate% model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [sales_orders.one_touch_order_percentage, sales_orders.count_one_touch_order, - sales_orders.count_total_orders] - limit: 500 + fields: [filtered_data_intelligence_otc_average_fill_rate] + limit: 5000 + dynamic_fields: [{category: measure, expression: !!null '', label: Filtered Data + Intelligence Otc - Average Fill Rate, value_format: 0.00"%", value_format_name: !!null '', + based_on: data_intelligence_otc.average_fill_rate, _kind_hint: measure, measure: filtered_data_intelligence_otc_average_fill_rate, + type: average, _type_hint: average}] custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -193,31 +239,36 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - value_format: 0.00"%" - series_types: {} + value_format: '' defaults_version: 1 - hidden_fields: [sales_orders.count_one_touch_order, sales_orders.count_total_orders] listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product row: 4 - col: 0 + col: 6 width: 6 height: 4 - - title: New Tile - name: New Tile + - name: Order Status Snapshot + type: text + title_text: Order Status Snapshot + subtitle_text: How healthy is Order Fulfillment? + body_text: '' + row: 2 + col: 0 + width: 24 + height: 2 + - title: One Touch Order + name: One Touch Order model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [sales_orders.dash_nav] - filters: {} + fields: [data_intelligence_otc.percentage_one_touch_order] limit: 500 - column_limit: 50 custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -227,25 +278,26 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false + value_format: 0"%" series_types: {} defaults_version: 1 listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 0 + Division: data_intelligence_otc.division + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Year: data_intelligence_otc.creation_date_year + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 4 col: 0 - width: 24 - height: 2 + width: 6 + height: 4 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -253,22 +305,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -278,10 +317,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -293,9 +333,9 @@ display: popover options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + explore: data_intelligence_otc + listens_to_filters: [Region] + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -307,9 +347,9 @@ display: popover options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + explore: data_intelligence_otc + listens_to_filters: [Region, Sales Org] + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -319,10 +359,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: divisions_md.division_name_vtext + explore: data_intelligence_otc + listens_to_filters: [Region, Sales Org, Distribution Channel] + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -330,10 +371,24 @@ allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: tag_list + display: inline + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [Region, Sales Org, Distribution Channel, Division] + field: data_intelligence_otc.product + - name: 'Currency ' + title: 'Currency ' + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/2a_Canceled_Orders.dashboard.lookml b/LookML_Dashboard/2a_Canceled_Orders.dashboard.lookml index 707bd478..8a15331a 100644 --- a/LookML_Dashboard/2a_Canceled_Orders.dashboard.lookml +++ b/LookML_Dashboard/2a_Canceled_Orders.dashboard.lookml @@ -1,25 +1,24 @@ -- dashboard: sap_order_to_cash_o2c_02_a_cancelled_ordersperformance_tuning - title: "[SAP ORDER TO CASH] O2C 02_a: Canceled Orders" +- dashboard: canceled_orders + title: "[SAP OTC AR] 02_a: Canceled Orders" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: SglJRdRSOxWMsORDfmzrdO elements: - title: Canceled Orders name: Canceled Orders model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [sales_orders.sales_document_vbeln, sales_orders.item_posnr, materials_md.material_text_maktx, - sales_orders.sales_order_status, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.product, data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, + data_intelligence_otc.Bill_To_Party, data_intelligence_otc.order_status, data_intelligence_otc.sales_order_qty, + data_intelligence_otc.Base_UoM, data_intelligence_otc.Exchange_Rate_Sales_Value, + data_intelligence_otc.sales_order_value_Local_Currecny, data_intelligence_otc.Local_Currency_Key, + data_intelligence_otc.Sales_Order_Value_Global_Currency, data_intelligence_otc.Global_Currency] filters: - sales_orders.canceled_order: Canceled - sorts: [sales_orders.max_sold_to_party_name desc 0] + data_intelligence_otc.canceled_order: Canceled + sorts: [data_intelligence_otc.sales_order] limit: 500 - column_limit: 50 show_view_names: false show_row_numbers: true transpose: false @@ -39,31 +38,50 @@ show_totals: true show_row_totals: true truncate_header: false - series_labels: - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - materials_md.material_text_maktx: Product - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.base_unit_of_measure_meins: Base UoM - sales_orders.currency_waerk: Local Currency Key - currency_conversion_new.ukurs: Exchange Rate Sales Value - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - sales_orders.max_sold_to_party_name: Sold to Party - sales_orders.max_ship_to_party_name: Ship to Party - sales_orders.max_bill_to_party_name: Bill to Party - series_value_format: - sales_orders.sales_order_value_glob_curr: - name: decimal_2 - decimals: '2' - format_string: "#,##0.00" - label: Decimals (2) - label_prefix: Decimals + series_column_widths: + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.order_status: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + series_text_format: + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.sales_order_line_item: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.order_status: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + data_intelligence_otc.Global_Currency: + align: left + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right x_axis_gridlines: false y_axis_gridlines: true show_y_axis_labels: true @@ -91,56 +109,23 @@ totals_color: "#808080" defaults_version: 1 series_types: {} - hidden_fields: [] - y_axes: [] - pinned_columns: - "$$$_row_numbers_$$$": left - column_order: ["$$$_row_numbers_$$$", sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_orders.sales_order_status, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] - series_column_widths: - materials_md.material_text_maktx: 187 - series_cell_visualizations: {} listen: - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Year: sales_orders.creation_date_erdat_date - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Currency: data_intelligence_otc.Currency_Required row: 0 col: 0 width: 24 height: 11 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.order_snapshot] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} - defaults_version: 1 - listen: - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Year: sales_orders.creation_date_erdat_date - Product: materials_md.material_text_maktx + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' row: 11 col: 0 width: 24 @@ -149,32 +134,33 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: - type: relative_timeframes + type: day_range_picker display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency + field: data_intelligence_otc.creation_date_year + - name: Region + title: Region type: field_filter - default_value: USD + default_value: '' allow_multiple_values: true - required: true + required: false ui_config: - type: dropdown_menu - display: inline + type: checkboxes + display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr - - name: Division - title: Division + field: data_intelligence_otc.country + - name: Sales Org + title: Sales Org type: field_filter default_value: '' allow_multiple_values: true @@ -182,12 +168,13 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext - - name: Product - title: Product + field: data_intelligence_otc.sales_org + - name: Distribution Channel + title: Distribution Channel type: field_filter default_value: '' allow_multiple_values: true @@ -195,12 +182,13 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx - - name: Region - title: Region + field: data_intelligence_otc.distribution_channel + - name: Division + title: Division type: field_filter default_value: '' allow_multiple_values: true @@ -208,12 +196,13 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx - - name: Sales Org - title: Sales Org + field: data_intelligence_otc.division + - name: Product + title: Product type: field_filter default_value: '' allow_multiple_values: true @@ -221,20 +210,22 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext - - name: Distribution Channel - title: Distribution Channel + field: data_intelligence_otc.product + - name: Currency + title: Currency type: field_filter - default_value: '' + default_value: "{{ _user_attributes['default_value_currency_required'] }}" allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: dropdown_menu + display: inline + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/2b_One_Touch_Order.dashboard.lookml b/LookML_Dashboard/2b_One_Touch_Order.dashboard.lookml index 439abffd..449078ca 100644 --- a/LookML_Dashboard/2b_One_Touch_Order.dashboard.lookml +++ b/LookML_Dashboard/2b_One_Touch_Order.dashboard.lookml @@ -1,28 +1,24 @@ -- dashboard: sap_order_to_cash_o2c_02_b_one_touch_orderperformance_tuning - title: "[SAP ORDER TO CASH] O2C 02_b: One Touch Order" +- dashboard: one_touch_order + title: "[SAP OTC AR] 02_b: One Touch Order" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: X0NQylJJiHQYRvwwXnWsZn elements: - title: One Touch Order name: One Touch Order model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [sales_orders.sales_document_vbeln, sales_orders.item_posnr, materials_md.material_text_maktx, - sales_orders.sales_order_status, sales_orders.cumulative_confirmed_quantity_in_base_uo_m_klmeng, - sales_orders.base_unit_of_measure_meins, sales_orders.currency_waerk, currency_conversion_new.ukurs, - sales_orders.sales_order_value_line_item_source_currency, sales_orders.sales_order_value_glob_curr, - currency_conversion_new.tcurr, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.product, data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, + data_intelligence_otc.Bill_To_Party, data_intelligence_otc.order_status, data_intelligence_otc.sales_order_qty, + data_intelligence_otc.Base_UoM, data_intelligence_otc.Exchange_Rate_Sales_Value, + data_intelligence_otc.sales_order_value_Local_Currecny, data_intelligence_otc.Local_Currency_Key, + data_intelligence_otc.Sales_Order_Value_Global_Currency, data_intelligence_otc.Global_Currency] filters: - sales_orders.sales_order_status: Closed - deliveries.date_created_erdat_date: 2022/01/01 to 2022/04/22 - sales_orders.division_spart: '' - sorts: [sales_orders.max_sold_to_party_name desc] - limit: 500 - column_limit: 50 + data_intelligence_otc.one_touch_order: "-NULL" + sorts: [data_intelligence_otc.product] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -39,116 +35,73 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - column_order: ["$$$_row_numbers_$$$", sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_orders.sales_order_status, sales_orders.cumulative_confirmed_quantity_in_base_uo_m_klmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] show_totals: true show_row_totals: true truncate_header: false - series_labels: - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - materials_md.material_text_maktx: Product - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - sales_orders.sales_order_status: Order Status - sales_orders.cumulative_confirmed_quantity_in_base_uo_m_klmeng: Sales Order - Quantity - sales_orders.base_unit_of_measure_for_product_group_prbme: Base UoM - currency_conversion_new.tcurr: Global Currency - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - currency_conversion_new.ukurs: Exchange Rate - sales_orders.currency_waerk: Local Currency Key - sales_orders.base_unit_of_measure_meins: Base UoM - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - sales_orders.max_sold_to_party_name: Sold to Party - sales_orders.max_ship_to_party_name: Ship to Party - sales_orders.max_bill_to_party_name: Bill to Party series_column_widths: - sales_orders.sales_document_vbeln: 112 - sales_orders.item_posnr: 156 - materials_md.material_text_maktx: 161 - customers_md.name1_name1: 151 - customers_md.name2_name2: 107 - customers_md.name3_name3: 99 - sales_orders.sales_order_status: 107 - sales_orders.cumulative_confirmed_quantity_in_base_uo_m_klmeng: 153 - sales_orders.base_unit_of_measure_meins: 92 - currency_conversion_new.ukurs: 118 - sales_orders.sales_order_value_line_item_source_currency: 222 - sales_orders.currency_waerk: 144 - sales_orders.sales_order_value_glob_curr: 228 - currency_conversion_new.tcurr: 128 - series_value_format: - sales_orders.sales_order_value_glob_curr: - name: decimal_2 - decimals: '2' - format_string: "#,##0.00" - label: Decimals (2) - label_prefix: Decimals + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.order_status: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Global_Currency: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.sales_order_line_item: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.order_status: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.Global_Currency: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + series_types: {} defaults_version: 1 - hidden_fields: [] - y_axes: [] - pinned_columns: - "$$$_row_numbers_$$$": left - series_cell_visualizations: {} listen: - Year: sales_orders.creation_date_erdat_date - Region: countries_md.country_name_landx - Currency: currency_conversion_new.tcurr - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Currency: data_intelligence_otc.Currency_Required row: 0 col: 0 width: 24 height: 12 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.order_snapshot] - filters: - customers_md.name1_name1: '' - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - hidden_pivots: {} - listen: - Year: sales_orders.creation_date_erdat_date - Region: countries_md.country_name_landx - Currency: currency_conversion_new.tcurr - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' row: 12 col: 0 width: 24 @@ -157,7 +110,7 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -165,35 +118,23 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter default_value: '' - allow_multiple_values: false + allow_multiple_values: true required: false ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -203,10 +144,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -216,10 +158,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -229,10 +172,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -242,7 +186,21 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency + title: Currency + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/2c_Returned_Orders.dashboard.lookml b/LookML_Dashboard/2c_Returned_Orders.dashboard.lookml index 340f6de8..1b69e6a1 100644 --- a/LookML_Dashboard/2c_Returned_Orders.dashboard.lookml +++ b/LookML_Dashboard/2c_Returned_Orders.dashboard.lookml @@ -1,26 +1,24 @@ -- dashboard: sap_order_to_cash_o2c_02_c_returned_ordersperformance_tuning - title: "[SAP ORDER TO CASH] O2C 02_c: Returned Orders" +- dashboard: returned_orders + title: "[SAP OTC AR] 02_c: Returned Orders" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: GP5FjnQBnrxjpHXkTGqiFE elements: - title: Returned Orders name: Returned Orders model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [sales_orders.sales_document_vbeln, sales_orders.item_posnr, materials_md.material_text_maktx, - sales_order_header_status.return_order_status, sales_orders.cumulative_order_quantity_kwmeng, - materials_md.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.product, data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, + data_intelligence_otc.Bill_To_Party, data_intelligence_otc.order_status, data_intelligence_otc.sales_order_qty, + data_intelligence_otc.Base_UoM, data_intelligence_otc.Exchange_Rate_Sales_Value, + data_intelligence_otc.sales_order_value_Local_Currecny, data_intelligence_otc.Local_Currency_Key, + data_intelligence_otc.Sales_Order_Value_Global_Currency, data_intelligence_otc.Global_Currency] filters: - sales_orders.return_order: Returned - sales_orders.division_spart: '' - sorts: [sales_orders.max_sold_to_party_name] - limit: 500 - column_limit: 50 + data_intelligence_otc.return_order: "-NotReturned" + sorts: [data_intelligence_otc.sales_order] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -37,89 +35,104 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - pinned_columns: - "$$$_row_numbers_$$$": left - column_order: ["$$$_row_numbers_$$$", sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_order_header_status.return_order_status, - sales_orders.cumulative_order_quantity_kwmeng, materials_md.base_unit_of_measure_meins, - currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] show_totals: true show_row_totals: true truncate_header: false - series_labels: - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - materials_md.material_text_maktx: Product - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - sales_orders.sales_order_status: Order Status - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - materials_md.base_unit_of_measure_meins: Base UoM - currency_conversion_new.ukurs: Exchange Rate Sales Value - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.currency_waerk: Local Currency Key - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - sales_orders.max_sold_to_party_name: Sold to Party - sales_orders.max_ship_to_party_name: Ship to Party - sales_orders.max_bill_to_party_name: Bill to Party series_column_widths: - sales_order_header_status.return_order_status: 157 - series_cell_visualizations: {} - series_value_format: - sales_orders.sales_order_value_glob_curr: - name: decimal_2 - decimals: '2' - format_string: "#,##0.00" - label: Decimals (2) - label_prefix: Decimals - series_types: {} + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.order_status: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_net_value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_net_value_Local_Currency: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.sales_order_line_item: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.order_status: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_net_value_Global_Currency: + align: left + data_intelligence_otc.Global_Currency: + align: left + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.sales_order_net_value_Local_Currency: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - hidden_fields: [] - y_axes: [] + series_types: {} listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Currency: data_intelligence_otc.Currency_Required row: 0 col: 0 width: 24 - height: 10 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.order_snapshot] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} - defaults_version: 1 - listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - row: 10 + height: 11 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 11 col: 0 width: 24 height: 2 @@ -127,7 +140,7 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -135,22 +148,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -160,10 +160,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -173,10 +174,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -186,10 +188,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -199,10 +202,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -212,7 +216,22 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency + title: Currency + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/3_Order_Details.dashboard.lookml b/LookML_Dashboard/3_Order_Details.dashboard.lookml index 01a5d1c1..761be39f 100644 --- a/LookML_Dashboard/3_Order_Details.dashboard.lookml +++ b/LookML_Dashboard/3_Order_Details.dashboard.lookml @@ -1,29 +1,40 @@ -- dashboard: sap_order_to_cash_o2c_03_order_detailsperformance_tuning - title: "[SAP ORDER TO CASH] O2C 03: Order Details" +- dashboard: order_details + title: "[SAP OTC AR] 03: Order Details" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: GapLOzfEPZDaXx7TLctbOL elements: - - name: Order Details - type: text - title_text: Order Details - subtitle_text: What is my Order Status ? - body_text: '' - row: 2 + - title: Sales Order Metrics + name: Sales Order Metrics + model: cortex_sap_operational + explore: Navigation_Bar + type: single_value + fields: [Navigation_Bar.dash_nav] + limit: 500 + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false + series_types: {} + defaults_version: 1 + listen: {} + row: 0 col: 0 width: 24 height: 2 - - title: Blocked Orders - name: Blocked Orders + - title: Total Orders + name: Total Orders model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [sales_orders.count_blocked_orders] + fields: [data_intelligence_otc.count_incoming_order] limit: 500 - dynamic_fields: [{measure: count_of_blocked_orders, based_on: sales_orders.blocked_orders, - expression: '', label: Count of Blocked Orders, type: count_distinct, _kind_hint: measure, - _type_hint: number, id: 1ByKKrkL0e}] + column_limit: 50 custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -33,38 +44,51 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false + show_view_names: false + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + limit_displayed_rows: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 defaults_version: 1 - hidden_fields: [] - y_axes: [] + series_types: {} listen: - " Order Status": sales_orders.sales_order_status - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 8 + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + Currency: data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 4 col: 0 width: 6 - height: 4 - - title: Closed, Open and Canceled Orders - name: Closed, Open and Canceled Orders + height: 5 + - title: Blocked Orders + name: Blocked Orders model: cortex_sap_operational - explore: sales_orders - type: looker_pie - fields: [sales_orders.sales_order_status, count_of_sales_document_vbeln] - sorts: [count_of_sales_document_vbeln desc] + explore: data_intelligence_otc + type: single_value + fields: [data_intelligence_otc.count_blocked_order] limit: 500 - dynamic_fields: [{measure: count_of_sales_document_vbeln, based_on: sales_orders.sales_document_vbeln, - expression: '', label: Count of Sales Document Vbeln, type: count_distinct, - _kind_hint: measure, _type_hint: number}] - value_labels: labels - label_type: labVal - series_colors: - Closed: "#FCCF41" - Open: "#7CC8FA" - Canceled: "#f56776" + column_limit: 50 + dynamic_fields: [{measure: count_of_blocked_order, based_on: data_intelligence_otc.blocked_order, + expression: '', label: Count of Blocked Order, type: count_distinct, _kind_hint: measure, + _type_hint: number}] + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -95,64 +119,29 @@ defaults_version: 1 series_types: {} listen: - " Order Status": sales_orders.sales_order_status - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 4 - col: 6 - width: 18 - height: 8 - - title: Total Orders - name: Total Orders - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.count_orders] - limit: 500 - column_limit: 50 - custom_color_enabled: true - show_single_value_title: true - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - single_value_title: Total Orders - defaults_version: 1 - listen: - " Order Status": sales_orders.sales_order_status - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 4 + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + Currency: data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 9 col: 0 width: 6 - height: 4 + height: 5 - title: Sales Order Quantity and Value name: Sales Order Quantity and Value model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [sales_orders.sales_document_vbeln, sales_orders.item_posnr, materials_md.material_text_maktx, - sales_orders.sales_order_status, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - sales_orders.creation_date_erdat_date, deliveries.date__proof_of_delivery___podat_date, - deliveries.delivery_date_lfdat_date, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name] - filters: {} - sorts: [sales_orders.creation_date_erdat_date desc] - limit: 500 - column_limit: 50 + fields: [data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.product, data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, + data_intelligence_otc.Bill_To_Party, data_intelligence_otc.order_status, data_intelligence_otc.sales_order_qty, + data_intelligence_otc.Base_UoM, data_intelligence_otc.Exchange_Rate_Sales_Value, + data_intelligence_otc.sales_order_value_Local_Currecny, data_intelligence_otc.Local_Currency_Key, + data_intelligence_otc.Sales_Order_Value_Global_Currency, data_intelligence_otc.Global_Currency] + sorts: [data_intelligence_otc.Exchange_Rate_Sales_Value desc] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -169,96 +158,106 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - pinned_columns: - "$$$_row_numbers_$$$": left - column_order: ["$$$_row_numbers_$$$", sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_orders.creation_date_erdat_date, - deliveries.delivery_date_lfdat_date, deliveries.date__proof_of_delivery___podat_date, - sales_orders.sales_order_status, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] show_totals: true show_row_totals: true truncate_header: false - series_labels: - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - materials_md.material_text_maktx: Product - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - sales_orders.sales_order_status: Order Status - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.base_unit_of_measure_meins: Base UoM - currency_conversion_new.ukurs: Exchange Rate - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.currency_waerk: Local Currency Key - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - sales_orders.creation_date_erdat_date: Creation Date - deliveries.date__proof_of_delivery___podat_date: Actual Delivery Date - deliveries.delivery_date_lfdat_date: Requested Delivery date - sales_orders.max_sold_to_party_name: Sold to Party - sales_orders.max_ship_to_party_name: Ship to Party - sales_orders.max_bill_to_party_name: Bill to Party series_column_widths: - sales_orders.sales_document_vbeln: 111.24000000000001 - series_cell_visualizations: {} + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.order_status: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.sales_order_line_items: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: {} + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.order_status: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.sales_order_line_item: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + data_intelligence_otc.Global_Currency: + align: left series_types: {} defaults_version: 1 listen: - Year: sales_orders.creation_date_erdat_date - " Order Status": sales_orders.sales_order_status - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 12 + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + Currency: data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 14 col: 0 width: 24 - height: 7 - - title: New Tile - name: New Tile + height: 11 + - name: Order Details + type: text + title_text: Order Details + subtitle_text: What is my Order Status ? + body_text: '' + row: 2 + col: 0 + width: 24 + height: 2 + - title: Closed, Open and Canceled Orders + name: Closed, Open and Canceled Orders model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.dash_nav] - filters: {} + explore: data_intelligence_otc + type: looker_pie + fields: [data_intelligence_otc.order_status, data_intelligence_otc.count] + sorts: [data_intelligence_otc.count desc] limit: 500 column_limit: 50 - custom_color_enabled: true - show_single_value_title: true - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} + value_labels: labels + label_type: labVal + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + show_view_names: false defaults_version: 1 - listen: - Year: sales_orders.creation_date_erdat_date - " Order Status": sales_orders.sales_order_status - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 0 - col: 0 - width: 24 - height: 2 + series_types: {} + listen: {} + row: 4 + col: 6 + width: 18 + height: 10 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -266,22 +265,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -291,10 +277,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -304,10 +291,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -317,10 +305,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -330,10 +319,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -341,23 +331,24 @@ allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: dropdown_menu + display: inline + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx - - name: " Order Status" - title: " Order Status" + field: data_intelligence_otc.product + - name: Currency + title: Currency type: field_filter - default_value: '' + default_value: "{{ _user_attributes['default_value_currency_required'] }}" allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: dropdown_menu + display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.sales_order_status + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/4_Sales_Performance.dashboard.lookml b/LookML_Dashboard/4_Sales_Performance.dashboard.lookml index 87c1fc75..db124f81 100644 --- a/LookML_Dashboard/4_Sales_Performance.dashboard.lookml +++ b/LookML_Dashboard/4_Sales_Performance.dashboard.lookml @@ -1,9 +1,8 @@ -- dashboard: sap_order_to_cash_o2c_04_sales_performanceperformance_tuning - title: "[SAP ORDER TO CASH] O2C 04: Sales Performance" +- dashboard: sales_performance + title: "[SAP OTC AR] 04: Sales Performance" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: FM7SdAo1feuXPacg2v6aZh elements: - name: Sales Performance type: text @@ -13,16 +12,75 @@ row: 2 col: 0 width: 24 - height: 1 - - title: Sales Performance by Top 10 Products - name: Sales Performance by Top 10 Products + height: 2 + - title: Navigation Bar + name: Navigation Bar model: cortex_sap_operational - explore: sales_orders - type: looker_column - fields: [materials_md.material_text_maktx, sales_orders.sales_order_netvalue_global_currency_product] - sorts: [sales_orders.sales_order_netvalue_global_currency_product desc] + explore: Navigation_Bar + type: single_value + fields: [Navigation_Bar.dash_nav] + limit: 500 + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false + show_view_names: false + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + limit_displayed_rows: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + defaults_version: 1 + series_types: {} + listen: {} + row: 0 + col: 0 + width: 24 + height: 2 + - title: Sales Performance by Distribution Channel + name: Sales Performance by Distribution Channel + model: cortex_sap_operational + explore: data_intelligence_otc + type: looker_pie + fields: [data_intelligence_otc.distribution_channel, filtered_data_intelligence_otc_sum_sales_order_net_value_2] + sorts: [filtered_data_intelligence_otc_sum_sales_order_net_value_2 desc] limit: 500 column_limit: 50 + dynamic_fields: [{measure: average_of_order_cycle_time_in_days, based_on: data_intelligence_otc.order_cycle_time_in_days, + expression: '', label: Average of Order Cycle Time In Days, type: average, + _kind_hint: measure, _type_hint: number}, {category: measure, expression: !!null '', + label: Filtered Data Intelligence Otc - Sum Sales Order Net Value, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value, + type: sum, _type_hint: sum}, {category: measure, expression: !!null '', label: Filtered + Data Intelligence Otc - Sum Sales Order Net Value 2, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value_2, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value_2, + type: sum, _type_hint: sum}] + value_labels: legend + label_type: labVal + inner_radius: 40 + start_angle: 18 + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + series_colors: + '10': "#ACE9F5" + '20': "#FDEC85" + '30': "#F29ED2" x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -38,7 +96,7 @@ plot_size_by_field: false trellis: '' stacking: '' - limit_displayed_rows: true + limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false @@ -50,42 +108,48 @@ show_totals_labels: false show_silhouette: false totals_color: "#808080" - y_axes: [{label: Sales Order Net Value, orientation: left, series: [{axisId: sales_orders.sales_order_netvalue_global_currency, - id: sales_orders.sales_order_netvalue_global_currency, name: Sales Order - Netvalue Global Currency}], showLabels: true, showValues: true, unpinAxis: false, - tickDensity: default, tickDensityCustom: 5, type: linear}] - x_axis_label: Product - limit_displayed_rows_values: - show_hide: show - first_last: first - num_rows: '10' - hide_legend: false - series_colors: - sales_orders.sales_order_netvalue_global_currency: "#FDEC85" - sales_orders.sales_order_netvalue_global_currency_product: "#FDEC85" defaults_version: 1 - hidden_fields: [] + series_types: {} + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + enable_conditional_formatting: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 3 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 18 col: 0 - width: 24 - height: 6 - - title: Sales Performance by Top 5 Sales Org - name: Sales Performance by Top 5 Sales Org + width: 12 + height: 7 + - title: Sales Performance by Top 10 Products + name: Sales Performance by Top 10 Products model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [sales_organizations_md.sales_org_name_vtext, sales_orders.sales_order_netvalue_global_currency_sales_org] + fields: [data_intelligence_otc.product, filtered_data_intelligence_otc_sum_sales_order_net_value] filters: {} - sorts: [sales_orders.sales_order_netvalue_global_currency_sales_org desc] + sorts: [filtered_data_intelligence_otc_sum_sales_order_net_value desc] limit: 500 + column_limit: 50 + dynamic_fields: [{category: measure, expression: !!null '', label: Filtered Data + Intelligence Otc - Sum Sales Order Net Value, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value, + type: sum, _type_hint: sum}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -103,7 +167,7 @@ stacking: '' limit_displayed_rows: true legend_position: center - point_style: none + point_style: circle_outline show_value_labels: false label_density: 25 x_axis_scale: auto @@ -113,64 +177,90 @@ show_totals_labels: false show_silhouette: false totals_color: "#808080" - y_axes: [{label: Sales Order Net Value, orientation: left, series: [{axisId: sales_orders.sales_order_netvalue_global_currency, - id: sales_orders.sales_order_netvalue_global_currency, name: Sales Order - Netvalue Global Currency}], showLabels: true, showValues: true, unpinAxis: false, - tickDensity: default, tickDensityCustom: 5, type: linear}] - x_axis_label: Sales Org + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + y_axes: [{label: Sales Order Value, orientation: left, series: [{axisId: filtered_data_intelligence_otc_sum_sales_order_net_value, + id: filtered_data_intelligence_otc_sum_sales_order_net_value, name: Filtered + Data Intelligence Otc - Sum Sales Order Net Value}], showLabels: true, + showValues: true, valueFormat: '0.0,,"M"', unpinAxis: false, tickDensity: default, + tickDensityCustom: 5, type: linear}] + x_axis_label: Product limit_displayed_rows_values: show_hide: show first_last: first - num_rows: 0 + num_rows: '10' + series_types: {} series_colors: - filtered_data_intelligence_otc_sum_sales_order_net_value_1: "#A5EF55" - sales_orders.sales_order_netvalue_global_currency: "#A5EF55" - sales_orders.sales_order_netvalue_global_currency_sales_org: "#A5EF55" + '10': "#FF8168" + '20': "#079c98" + sum_of_sales_order_net_price_1: "#C8A7F9" + filtered_data_intelligence_otc_sum_sales_order_net_price: "#ACE9F5" + filtered_data_intelligence_otc_sum_sales_order_net_value: "#FDEC85" + x_axis_datetime_label: '' + show_null_points: true + interpolation: linear + value_labels: legend + label_type: labPer defaults_version: 1 - hidden_fields: [] + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + enable_conditional_formatting: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 9 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 4 col: 0 width: 24 - height: 6 - - title: Sales Performance by Distribution Channel - name: Sales Performance by Distribution Channel + height: 7 + - title: Sales Performance by Division + name: Sales Performance by Division model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_pie - fields: [distribution_channels_md.distribution_channel_name_vtext, sales_orders.sales_order_netvalue_global_currency_dist_channel] + fields: [data_intelligence_otc.division, filtered_data_intelligence_otc_sum_sales_order_net_value_3] filters: {} - sorts: [sales_orders.sales_order_netvalue_global_currency_dist_channel desc] + sorts: [data_intelligence_otc.division desc] limit: 500 - dynamic_fields: [{measure: sum_of_sales_order_netvalue_local_currency, based_on: sales_orders.sales_order_netvalue_local_currency, - expression: '', label: Sum of Sales Order Netvalue Local Currency, type: sum, - _kind_hint: measure, _type_hint: number}, {measure: sum_of_sales_order_netvalue_local_currency_2, - based_on: sales_orders.sales_order_netvalue_local_currency, expression: '', - label: Sum of Sales Order Netvalue Local Currency, type: sum, _kind_hint: measure, - _type_hint: number}, {measure: sum_of_sales_order_net_price_local_currency, - based_on: sales_orders.sales_order_net_price_local_currency, expression: '', - label: Sum of Sales Order Net Price Local Currency, type: sum, _kind_hint: measure, - _type_hint: number}, {measure: sum_of_sales_order_netvalue_local_currency_3, - based_on: sales_orders.sales_order_netvalue_local_currency, expression: '', - label: Sum of Sales Order Netvalue Local Currency, type: sum, _kind_hint: measure, - _type_hint: number}, {measure: sum_of_sales_order_netvalue_local_currency_4, - based_on: sales_orders.sales_order_netvalue_local_currency, expression: '', - label: Sum of Sales Order Netvalue Local Currency, type: sum, _kind_hint: measure, - _type_hint: number}] + dynamic_fields: [{category: measure, expression: !!null '', label: Filtered Data + Intelligence Otc - Sum Sales Order Net Value, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value, + type: sum, _type_hint: sum}, {category: measure, expression: !!null '', label: Filtered + Data Intelligence Otc - Sum Sales Order Net Value 3, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value_3, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value_3, + type: sum, _type_hint: sum}] value_labels: legend - label_type: labPer + label_type: labVal inner_radius: 40 + start_angle: 18 + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 series_colors: - Wholesale Sales: "#FCCF41" - Digital Sales: "#7CC8FA" - Retail Sales: "#f56776" + '04': "#C8A7F9" + '02': "#FDEC85" + '03': "#ACE9F5" x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -188,8 +278,6 @@ stacking: '' limit_displayed_rows: false legend_position: center - label_value_format: '' - series_types: {} point_style: none show_value_labels: false label_density: 25 @@ -201,75 +289,29 @@ show_silhouette: false totals_color: "#808080" defaults_version: 1 - hidden_fields: [] - y_axes: [] - listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 15 - col: 0 - width: 12 - height: 6 - - title: Sales Performance by Division - name: Sales Performance by Division - model: cortex_sap_operational - explore: sales_orders - type: looker_pie - fields: [sales_orders.sales_order_netvalue_global_currency_division, divisions_md.division_name_vtext] - filters: {} - sorts: [sales_orders.sales_order_netvalue_global_currency_division desc] - limit: 500 - value_labels: legend - label_type: labPer - inner_radius: 40 - start_angle: 18 - color_application: - collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a - palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 - options: - steps: 5 - series_colors: - '04': "#C8A7F9" - '03': "#F29ED2" - '02': "#ACE9F5" - 'null': "#FDEC85" - Electronics: "#ACE9F5" - Perishables: "#C8A7F9" - Packaged Goods: "#AEC8C1" series_types: {} - defaults_version: 1 - hidden_fields: [] - y_axes: [] listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 15 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 18 col: 12 width: 12 - height: 6 + height: 7 - title: Total Customers name: Total Customers model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: single_value - fields: [count_of_customer_number_kunnr_2] + fields: [count_of_order_created_by] limit: 500 - column_limit: 50 - dynamic_fields: [{measure: count_of_customer_number_kunnr, based_on: customers_md.customer_number_kunnr, - expression: '', label: Count of Customer Number Kunnr, type: count_distinct, - _kind_hint: measure, _type_hint: number, id: P6OqIto7kp}, {measure: count_of_customer_number_kunnr_2, - based_on: customers_md.customer_number_kunnr, expression: '', label: Count - of Customer Number Kunnr, type: count_distinct, _kind_hint: measure, _type_hint: number}] + dynamic_fields: [{measure: count_of_order_created_by, based_on: data_intelligence_otc.order_created_by, + expression: '', label: Count of Order Created By, type: count_distinct, _kind_hint: measure, + _type_hint: number}] custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -279,35 +321,33 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - truncate_column_names: false - hide_totals: false - hide_row_totals: false - table_theme: editable - limit_displayed_rows: false defaults_version: 1 - series_types: {} listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 21 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 25 col: 0 width: 4 - height: 7 - - title: Avg Sales of Top 10 Customers - name: Avg Sales of Top 10 Customers + height: 8 + - title: Avg Sales of Top 10 Products + name: Avg Sales of Top 10 Products model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [customers_md.name1_name1, sales_orders.sales_order_net_price_global_currency] - sorts: [sales_orders.sales_order_net_price_global_currency desc 0] + fields: [data_intelligence_otc.product, average_of_sales_order_net_price_global_currency] + filters: {} + sorts: [average_of_sales_order_net_price_global_currency desc] limit: 500 + dynamic_fields: [{category: measure, expression: '', label: Average of Sales Order + Net Price Global Currency, value_format: '0.00,"K"', value_format_name: !!null '', + based_on: data_intelligence_otc.sales_order_net_price_Global_Currency, _kind_hint: measure, + measure: average_of_sales_order_net_price_global_currency, type: average, + _type_hint: average}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -325,7 +365,7 @@ stacking: '' limit_displayed_rows: true legend_position: center - point_style: none + point_style: circle_outline show_value_labels: false label_density: 25 x_axis_scale: auto @@ -335,42 +375,75 @@ show_totals_labels: false show_silhouette: false totals_color: "#808080" - y_axes: [{label: Average Sales, orientation: left, series: [{axisId: sales_orders.sales_order_netvalue_global_currency_1, - id: sales_orders.sales_order_netvalue_global_currency_1, name: Sales Order - Netvalue Global Currency 1}], showLabels: true, showValues: true, unpinAxis: false, - tickDensity: default, tickDensityCustom: 5, type: linear}] - x_axis_label: Customer + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + y_axes: [{label: Average Sales, orientation: left, series: [{axisId: average_of_sales_order_net_price, + id: average_of_sales_order_net_price, name: Average of Sales Order Net + Price}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, + tickDensityCustom: 5, type: linear}] + x_axis_label: Product limit_displayed_rows_values: show_hide: show first_last: first num_rows: '10' - label_value_format: '' series_types: {} series_colors: - sales_orders.sales_order_netvalue_global_currency_1: "#ACE9F5" - sales_orders.sales_order_net_price_global_currency: "#ACE9F5" + average_of_sales_order_net_price: "#9E7FD0" + average_of_sales_order_net_price_global_currency: "#F29ED2" + show_null_points: true + interpolation: linear + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false defaults_version: 1 - hidden_fields: [] + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + value_labels: legend + label_type: labPer listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 21 - col: 4 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 25 + col: 14 width: 10 - height: 7 - - title: Avg Sales of Top 10 Products - name: Avg Sales of Top 10 Products + height: 8 + - title: Avg Sales of Top 10 Customers + name: Avg Sales of Top 10 Customers model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [materials_md.material_text_maktx, sales_orders.sales_order_net_price_global_currency] - sorts: [sales_orders.sales_order_net_price_global_currency desc 0] + fields: [data_intelligence_otc.customer_name1, average_of_sales_order_net_price_global_currency] + filters: + data_intelligence_otc.customer_name1: "-NULL" + sorts: [average_of_sales_order_net_price_global_currency desc] limit: 500 + dynamic_fields: [{category: measure, expression: '', label: Average of Sales Order + Net Price Global Currency, value_format: '0.00,"K"', value_format_name: !!null '', + based_on: data_intelligence_otc.sales_order_net_price_Global_Currency, _kind_hint: measure, + measure: average_of_sales_order_net_price_global_currency, type: average, + _type_hint: average}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -388,7 +461,7 @@ stacking: '' limit_displayed_rows: true legend_position: center - point_style: none + point_style: circle_outline show_value_labels: false label_density: 25 x_axis_scale: auto @@ -398,40 +471,26 @@ show_totals_labels: false show_silhouette: false totals_color: "#808080" - y_axes: [{label: Average Sales, orientation: left, series: [{axisId: sales_orders.sales_order_net_price_global_currency, - id: sales_orders.sales_order_net_price_global_currency, name: Sales Order - Net Price Global Currency}], showLabels: true, showValues: true, unpinAxis: false, - tickDensity: default, tickDensityCustom: 5, type: linear}] - x_axis_label: Product + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + y_axes: [{label: Average Sales, orientation: left, series: [{axisId: average_of_sales_order_net_price, + id: average_of_sales_order_net_price, name: Average of Sales Order Net + Price}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, + tickDensityCustom: 5, type: linear}] + x_axis_label: Customer limit_displayed_rows_values: show_hide: show first_last: first num_rows: '10' series_types: {} series_colors: - sales_orders.sales_order_net_price_global_currency: "#F29ED2" - defaults_version: 1 - listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 21 - col: 14 - width: 10 - height: 7 - - title: New Tile - name: New Tile - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.dash_nav] - filters: {} - limit: 500 - column_limit: 50 + average_of_sales_order_net_price: "#FD9577" + average_of_sales_order_net_price_global_currency: "#ACE9F5" + show_null_points: true + interpolation: linear custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -441,25 +500,118 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false + defaults_version: 1 + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + value_labels: legend + label_type: labPer + listen: + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 25 + col: 4 + width: 10 + height: 8 + - title: Sales Performance by Top 5 Sales Org + name: Sales Performance by Top 5 Sales Org + model: cortex_sap_operational + explore: data_intelligence_otc + type: looker_column + fields: [data_intelligence_otc.sales_org, filtered_data_intelligence_otc_sum_sales_order_net_value_1] + filters: {} + sorts: [filtered_data_intelligence_otc_sum_sales_order_net_value_1 desc] + limit: 500 + dynamic_fields: [{category: measure, expression: !!null '', label: Filtered Data + Intelligence Otc - Sum Sales Order Net Value, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value, + type: sum, _type_hint: sum}, {category: measure, expression: !!null '', label: Filtered + Data Intelligence Otc - Sum Sales Order Net Value 1, value_format: '0.00,"K"', + value_format_name: !!null '', based_on: data_intelligence_otc.sum_sales_order_net_value_1, + _kind_hint: measure, measure: filtered_data_intelligence_otc_sum_sales_order_net_value_1, + type: sum, _type_hint: sum}] + x_axis_gridlines: false + y_axis_gridlines: true + show_view_names: false + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + limit_displayed_rows: true + legend_position: center + point_style: circle_outline + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" + color_application: + collection_id: 1297ec12-86a5-4ae0-9dfc-82de70b3806a + palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 + options: + steps: 5 + y_axes: [{label: Sales Order Value, orientation: left, series: [{axisId: filtered_data_intelligence_otc_sum_sales_order_net_value_1, + id: filtered_data_intelligence_otc_sum_sales_order_net_value_1, name: Filtered + Data Intelligence Otc - Sum Sales Order Net Value 1}], showLabels: true, + showValues: true, valueFormat: '0.0,,"M"', unpinAxis: false, tickDensity: default, + tickDensityCustom: 5, type: linear}] + x_axis_label: Sales Org + limit_displayed_rows_values: + show_hide: show + first_last: first + num_rows: '5' series_types: {} + series_colors: + sum_of_sales_order_net_price: "#AEC8C1" + data_intelligence_otc.sum_sales_order_net_price: "#AEC8C1" + filtered_data_intelligence_otc_sum_sales_order_net_price: "#FDEC85" + filtered_data_intelligence_otc_sum_sales_order_net_value: "#C8A7F9" + filtered_data_intelligence_otc_sum_sales_order_net_value_1: "#A5EF55" + show_null_points: true + interpolation: linear defaults_version: 1 listen: - Year: sales_orders.creation_date_erdat_date - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 0 + Year: data_intelligence_otc.creation_date_date + Region: data_intelligence_otc.country + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Sales Org: data_intelligence_otc.sales_org + 'Currency ': data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 11 col: 0 width: 24 - height: 2 + height: 7 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -467,22 +619,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_date - name: Region title: Region type: field_filter @@ -492,10 +631,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -505,10 +645,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -518,10 +659,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -531,10 +673,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -542,9 +685,24 @@ allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: dropdown_menu + display: inline + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: 'Currency ' + title: 'Currency ' + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/4a_Sales_Performance_by_Distribution_Channel.dashboard.lookml b/LookML_Dashboard/4a_Sales_Performance_by_Distribution_Channel.dashboard.lookml index 5fd39e9f..cb4b75aa 100644 --- a/LookML_Dashboard/4a_Sales_Performance_by_Distribution_Channel.dashboard.lookml +++ b/LookML_Dashboard/4a_Sales_Performance_by_Distribution_Channel.dashboard.lookml @@ -1,66 +1,24 @@ -- dashboard: sap_order_to_cash_o2c_04_a_sales_performance_by_distribution_channelperformance_tuning - title: "[SAP ORDER TO CASH] O2C 04_a: Sales Performance by Distribution Channel" +- dashboard: sales_performance_by_distribution_channel + title: "[SAP OTC AR] 04_a: Sales Performance by Distribution Channel" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: Ji6XE0aGtwA6WHE7qp2qwf elements: - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.Sales_performance] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - listen: - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Year: sales_orders.creation_date_erdat_date - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - row: 11 - col: 0 - width: 24 - height: 2 - title: Sales Performance by Distribution Channel name: Sales Performance by Distribution Channel model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [distribution_channels_md.distribution_channel_name_vtext, sales_organizations_md.sales_org_name_vtext, - divisions_md.division_name_vtext, sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, - sales_orders.sales_order_value_line_item_source_currency, sales_orders.currency_waerk, - sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.distribution_channel, data_intelligence_otc.sales_org, + data_intelligence_otc.division, data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, data_intelligence_otc.Bill_To_Party, + data_intelligence_otc.product, data_intelligence_otc.sales_order_qty, data_intelligence_otc.Base_UoM, + data_intelligence_otc.Exchange_Rate_Sales_Value, data_intelligence_otc.sales_order_value_Local_Currecny, + data_intelligence_otc.Local_Currency_Key, data_intelligence_otc.Sales_Order_Value_Global_Currency, + data_intelligence_otc.Global_Currency] filters: {} - sorts: [sales_organizations_md.sales_org_name_vtext] - limit: 500 + sorts: [data_intelligence_otc.sales_org] + limit: 5000 column_limit: 50 show_view_names: false show_row_numbers: true @@ -78,65 +36,111 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - pinned_columns: - "$$$_row_numbers_$$$": left - column_order: ["$$$_row_numbers_$$$", distribution_channels_md.distribution_channel_name_vtext, - sales_organizations_md.sales_org_name_vtext, divisions_md.division_name_vtext, - sales_orders.sales_document_vbeln, sales_orders.item_posnr, sales_orders.max_sold_to_party_name, - sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name, sales_orders.cumulative_order_quantity_kwmeng, - materials_md.material_text_maktx, sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, - sales_orders.sales_order_value_line_item_source_currency, sales_orders.currency_waerk, - sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] show_totals: true show_row_totals: true truncate_header: false - series_labels: - distribution_channels_md.distribution_channel_name_vtext: Distribution Channel - sales_organizations_md.sales_org_name_vtext: Sales Org - sales_orders.division_spart: Division - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - materials_md.material_text_maktx: Product - sales_orders.base_unit_of_measure_meins: Base UoM - currency_conversion_new.ukurs: Exchange Rate Sales Value - sales_orders.currency_waerk: Local Currency Key - sales_orders.Global_Currency: Global Currency - sales_orders.sales_order_netvalue_global_currency: Sales Orders Global Currency - Value - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - divisions_md.division_name_vtext: Division - sales_orders.max_sold_to_party_name: Sold To Party - sales_orders.max_ship_to_party_name: Ship To Party - sales_orders.max_bill_to_party_name: Bill To Party - series_cell_visualizations: - sales_orders.sales_order_netvalue_global_currency: - is_active: false + series_column_widths: + data_intelligence_otc.sales_org: 120 + data_intelligence_otc.distribution_channel: 120 + data_intelligence_otc.division: 120 + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_org: + align: left + data_intelligence_otc.distribution_channel: + align: left + data_intelligence_otc.division: + align: left + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + data_intelligence_otc.Global_Currency: + align: left + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - series_column_widths: {} + series_types: {} listen: - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Year: sales_orders.creation_date_erdat_date - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Product: data_intelligence_otc.product + Division: data_intelligence_otc.division row: 0 col: 0 width: 24 - height: 11 + height: 12 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 12 + col: 0 + width: 24 + height: 2 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -144,22 +148,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -169,10 +160,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -182,10 +174,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -195,10 +188,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -208,10 +202,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -221,7 +216,21 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/4b_Sales_Performance_by_Division.dashboard.lookml b/LookML_Dashboard/4b_Sales_Performance_by_Division.dashboard.lookml index a8eaa761..50d11d8a 100644 --- a/LookML_Dashboard/4b_Sales_Performance_by_Division.dashboard.lookml +++ b/LookML_Dashboard/4b_Sales_Performance_by_Division.dashboard.lookml @@ -1,66 +1,23 @@ -- dashboard: sap_order_to_cash_o2c_04_b_sales_performance_by_divisionperformance_tuning - title: "[SAP ORDER TO CASH] O2C 04_b: Sales Performance by Division" +- dashboard: sales_performance_by_division + title: "[SAP OTC AR] 04_b: Sales Performance by Division" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: igss5BgFxqD1sKW7M88XTy elements: - - title: New Tile - name: New Tile - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.Sales_performance] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - listen: - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - Region: countries_md.country_name_landx - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - row: 10 - col: 0 - width: 24 - height: 2 - title: Sales Performance by Division name: Sales Performance by Division model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [divisions_md.division_name_vtext, distribution_channels_md.distribution_channel_name_vtext, - sales_organizations_md.sales_org_name_vtext, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, materials_md.material_text_maktx, sales_orders.base_unit_of_measure_meins, - currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - sales_orders.cumulative_order_quantity_kwmeng, sales_orders.max_sold_to_party_name, - sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] + fields: [data_intelligence_otc.sales_org, data_intelligence_otc.distribution_channel, + data_intelligence_otc.division, data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, data_intelligence_otc.Bill_To_Party, + data_intelligence_otc.product, data_intelligence_otc.sales_order_qty, data_intelligence_otc.Base_UoM, + data_intelligence_otc.Exchange_Rate_Sales_Value, data_intelligence_otc.sales_order_value_Local_Currecny, + data_intelligence_otc.Local_Currency_Key, data_intelligence_otc.Sales_Order_Value_Global_Currency, + data_intelligence_otc.Global_Currency] filters: {} - sorts: [sales_organizations_md.sales_org_name_vtext] + sorts: [data_intelligence_otc.sales_org] limit: 5000 column_limit: 50 show_view_names: false @@ -82,62 +39,108 @@ show_totals: true show_row_totals: true truncate_header: false - series_labels: - distribution_channels_md.distribution_channel_name_vtext: Distribution Channel - sales_organizations_md.sales_org_name_vtext: Sales Org - sales_orders.division_spart: Division - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - materials_md.material_text_maktx: Product - sales_orders.base_unit_of_measure_meins: Base UoM - currency_conversion_new.ukurs: Exchange Rate Sales Value - sales_orders.currency_waerk: Local Currency Key - sales_orders.Global_Currency: Global Currency - sales_orders.sales_order_netvalue_global_currency: Sales Orders Global Currency - Value - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - divisions_md.division_name_vtext: Division - sales_orders.max_sold_to_party_name: Sold To Party - sales_orders.max_ship_to_party_name: Ship To Party - sales_orders.max_bill_to_party_name: Bill To Party - series_cell_visualizations: - sales_orders.sales_order_netvalue_global_currency: - is_active: false + series_column_widths: + data_intelligence_otc.sales_org: 120 + data_intelligence_otc.distribution_channel: 120 + data_intelligence_otc.division: 120 + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Global_Currency: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_org: + align: left + data_intelligence_otc.distribution_channel: + align: left + data_intelligence_otc.division: + align: left + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Global_Currency: + align: left + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - column_order: ["$$$_row_numbers_$$$", divisions_md.division_name_vtext, distribution_channels_md.distribution_channel_name_vtext, - sales_organizations_md.sales_org_name_vtext, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_orders.cumulative_order_quantity_kwmeng, - materials_md.material_text_maktx, sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, - sales_orders.sales_order_value_line_item_source_currency, sales_orders.currency_waerk, - sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] - pinned_columns: - "$$$_row_numbers_$$$": left - series_column_widths: {} + series_types: {} listen: - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - Region: countries_md.country_name_landx - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product row: 0 col: 0 width: 24 - height: 10 + height: 12 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 12 + col: 0 + width: 24 + height: 2 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -145,22 +148,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -170,10 +160,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -183,10 +174,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -196,10 +188,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -209,10 +202,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -222,7 +216,21 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/4c_Sales_Performance_by_Product.dashboard.lookml b/LookML_Dashboard/4c_Sales_Performance_by_Product.dashboard.lookml index 521ce88f..23b488bb 100644 --- a/LookML_Dashboard/4c_Sales_Performance_by_Product.dashboard.lookml +++ b/LookML_Dashboard/4c_Sales_Performance_by_Product.dashboard.lookml @@ -1,25 +1,24 @@ -- dashboard: sap_order_to_cash_o2c_04_c_sales_performance_by_productperformance_tuning - title: "[SAP ORDER TO CASH] O2C 04_c: Sales Performance by Product" +- dashboard: sales_performance_by_product + title: "[SAP OTC AR] 04_c: Sales Performance by Product" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: IHja91oLgL82jKraEZcMlL elements: - title: Sales Performance by Product name: Sales Performance by Product model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [materials_md.material_text_maktx, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_organizations_md.sales_org_name_vtext, distribution_channels_md.distribution_channel_name_vtext, - divisions_md.division_name_vtext, sales_orders.cumulative_order_quantity_kwmeng, - sales_orders.base_unit_of_measure_meins, currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name] - filters: - sales_orders.division_spart: '' - sorts: [materials_md.material_text_maktx] - limit: 500 + fields: [data_intelligence_otc.product, data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, data_intelligence_otc.Bill_To_Party, + data_intelligence_otc.sales_org, data_intelligence_otc.distribution_channel, + data_intelligence_otc.division, data_intelligence_otc.sales_order_qty, data_intelligence_otc.Base_UoM, + data_intelligence_otc.Exchange_Rate_Sales_Value, data_intelligence_otc.sales_order_value_Local_Currecny, + data_intelligence_otc.Local_Currency_Key, data_intelligence_otc.Sales_Order_Value_Global_Currency, + data_intelligence_otc.Global_Currency] + filters: {} + sorts: [data_intelligence_otc.product] + limit: 5000 column_limit: 50 show_view_names: false show_row_numbers: true @@ -37,95 +36,103 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - column_order: ["$$$_row_numbers_$$$", materials_md.material_text_maktx, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name, sales_organizations_md.sales_org_name_vtext, - distribution_channels_md.distribution_channel_name_vtext, divisions_md.division_name_vtext, - sales_orders.cumulative_order_quantity_kwmeng, sales_orders.base_unit_of_measure_meins, - currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] show_totals: true show_row_totals: true truncate_header: false - series_labels: - materials_md.material_text_maktx: Product - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - customers_md.name1_name1: Sold to Party - customers_md.name2_pson2: Ship to Party - customers_md.name3_pson3: Bill to Party - sales_organizations_md.sales_org_name_vtext: Sales Org - distribution_channels_md.distribution_channel_name_vtext: Distribution Channel - sales_orders.division_spart: Division - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.base_unit_of_measure_for_product_group_prbme: Base UoM - currency_conversion_new.tcurr: Global Currency - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - sales_orders.currency_waerk: Local Currency Key - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - currency_conversion_new.ukurs: Exchange Rate - sales_orders.base_unit_of_measure_meins: Base UoM - divisions_md.division_name_vtext: Division - sales_orders.max_sold_to_party_name: Sold To Party - sales_orders.max_ship_to_party_name: Ship To Party - sales_orders.max_bill_to_party_name: Bill To Party - series_column_widths: {} - series_cell_visualizations: {} + series_column_widths: + data_intelligence_otc.product: 120 + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.sales_org: 120 + data_intelligence_otc.distribution_channel: 120 + data_intelligence_otc.division: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + series_text_format: + data_intelligence_otc.product: + align: left + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.sales_order_line_item: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.sales_org: + align: left + data_intelligence_otc.distribution_channel: + align: left + data_intelligence_otc.division: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - hidden_fields: [] - y_axes: [] + series_types: {} listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product row: 0 col: 0 width: 24 - height: 10 - - title: Home - name: Home - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.Sales_performance] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - row: 10 + height: 12 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 12 col: 0 width: 24 height: 2 @@ -133,7 +140,7 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -141,22 +148,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -166,10 +160,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -179,10 +174,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -192,10 +188,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -205,10 +202,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -218,7 +216,21 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/4d_Sales_Performance_by_Sales_Org.dashboard.lookml b/LookML_Dashboard/4d_Sales_Performance_by_Sales_Org.dashboard.lookml index a4935e90..d3f8cbf7 100644 --- a/LookML_Dashboard/4d_Sales_Performance_by_Sales_Org.dashboard.lookml +++ b/LookML_Dashboard/4d_Sales_Performance_by_Sales_Org.dashboard.lookml @@ -1,24 +1,25 @@ -- dashboard: sap_order_to_cash_o2c_04_d_sales_performance_by_sales_orgperformance_tuning - title: "[SAP ORDER TO CASH] O2C 04_d: Sales Performance by Sales Org" +- dashboard: sales_performance_by_sales_org + title: "[SAP OTC AR] 04_d: Sales Performance by Sales Org" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: VUVQtGXYbiq1V0c2ZWA6e4 elements: - title: Sales Performance by Sales Org name: Sales Performance by Sales Org model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [sales_organizations_md.sales_org_name_vtext, distribution_channels_md.distribution_channel_name_vtext, - sales_orders.sales_document_vbeln, sales_orders.item_posnr, materials_md.material_text_maktx, - sales_orders.cumulative_order_quantity_kwmeng, sales_orders.base_unit_of_measure_meins, - currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr, - divisions_md.division_name_vtext, sales_orders.max_sold_to_party_name, sales_orders.max_ship_to_party_name, - sales_orders.max_bill_to_party_name] - sorts: [sales_organizations_md.sales_org_name_vtext] - limit: 500 + fields: [data_intelligence_otc.sales_org, data_intelligence_otc.distribution_channel, + data_intelligence_otc.division, data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.Sold_To_Party, data_intelligence_otc.Ship_To_Party, data_intelligence_otc.Bill_To_Party, + data_intelligence_otc.product, data_intelligence_otc.sales_order_qty, data_intelligence_otc.Base_UoM, + data_intelligence_otc.Exchange_Rate_Sales_Value, data_intelligence_otc.sales_order_value_Local_Currecny, + data_intelligence_otc.Local_Currency_Key, data_intelligence_otc.Sales_Order_Value_Global_Currency, + data_intelligence_otc.Global_Currency] + filters: {} + sorts: [data_intelligence_otc.sales_org] + limit: 5000 + column_limit: 50 show_view_names: false show_row_numbers: true transpose: false @@ -38,81 +39,100 @@ show_totals: true show_row_totals: true truncate_header: false - series_labels: - sales_organizations_md.sales_org_name_vtext: Sales Org - distribution_channels_md.distribution_channel_name_vtext: Distribution Channel - sales_orders.division_spart: Division - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - customers_md.name1_name1: Sold to Party - customers_md.name2_name2: Ship to Party - customers_md.name3_name3: Bill to Party - materials_md.material_text_maktx: Product - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.base_unit_of_measure_meins: Base UoM - currency_conversion_new.ukurs: Exchange Rate Sales Value - sales_orders.sales_order_value_line_item_source_currency: Sales Order Value - Local Currency - sales_orders.currency_waerk: Local Currency Key - sales_orders.sales_order_value_glob_curr: Sales Order Value Global Currency - currency_conversion_new.tcurr: Global Currency - divisions_md.division_name_vtext: Division - sales_orders.max_sold_to_party_name: Sold To Party - sales_orders.max_ship_to_party_name: Ship To Party - sales_orders.max_bill_to_party_name: Bill To Party - series_column_widths: {} + series_column_widths: + data_intelligence_otc.sales_org: 120 + data_intelligence_otc.distribution_channel: 120 + data_intelligence_otc.division: 120 + data_intelligence_otc.sales_order: 120 + data_intelligence_otc.sales_order_line_items: 120 + data_intelligence_otc.Sold_To_Party: 120 + data_intelligence_otc.Ship_To_Party: 120 + data_intelligence_otc.Bill_To_Party: 120 + data_intelligence_otc.product: 120 + data_intelligence_otc.sales_order_qty: 120 + data_intelligence_otc.Base_UoM: 120 + data_intelligence_otc.sales_order_value_Local_Currecny: 120 + data_intelligence_otc.Local_Currency_Key: 120 + data_intelligence_otc.sales_order_line_item: 120 + data_intelligence_otc.Exchange_Rate_Sales_Value: 120 + data_intelligence_otc.Sales_Order_Value_Global_Currency: 120 + data_intelligence_otc.Global_Currency: 120 + series_text_format: + data_intelligence_otc.sales_org: + align: left + data_intelligence_otc.distribution_channel: + align: left + data_intelligence_otc.division: + align: left + data_intelligence_otc.sales_order: + align: left + data_intelligence_otc.Sold_To_Party: + align: left + data_intelligence_otc.Ship_To_Party: + align: left + data_intelligence_otc.Bill_To_Party: + align: left + data_intelligence_otc.product: + align: left + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.Base_UoM: + align: left + data_intelligence_otc.sales_order_value_Local_Currecny: + align: right + data_intelligence_otc.Local_Currency_Key: + align: left + data_intelligence_otc.Exchange_Rate_Sales_Value: + align: right + data_intelligence_otc.Sales_Order_Value_Global_Currency: + align: right + data_intelligence_otc.Global_Currency: + align: left + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - hidden_fields: [] - y_axes: [] - pinned_columns: - "$$$_row_numbers_$$$": left - column_order: ["$$$_row_numbers_$$$", sales_organizations_md.sales_org_name_vtext, - distribution_channels_md.distribution_channel_name_vtext, divisions_md.division_name_vtext, - sales_orders.sales_document_vbeln, sales_orders.item_posnr, sales_orders.max_sold_to_party_name, - sales_orders.max_ship_to_party_name, sales_orders.max_bill_to_party_name, materials_md.material_text_maktx, - sales_orders.cumulative_order_quantity_kwmeng, sales_orders.base_unit_of_measure_meins, - currency_conversion_new.ukurs, sales_orders.sales_order_value_line_item_source_currency, - sales_orders.currency_waerk, sales_orders.sales_order_value_glob_curr, currency_conversion_new.tcurr] - series_cell_visualizations: {} + series_types: {} listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product row: 0 col: 0 width: 24 - height: 10 - - title: Home - name: Home - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.Sales_performance] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} - defaults_version: 1 - listen: - Year: sales_orders.creation_date_erdat_date - Currency: currency_conversion_new.tcurr - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Division: divisions_md.division_name_vtext - Product: materials_md.material_text_maktx - row: 10 + height: 12 + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' + row: 12 col: 0 width: 24 height: 2 @@ -120,7 +140,7 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: @@ -128,22 +148,9 @@ display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_new.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -153,10 +160,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -166,10 +174,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -179,10 +188,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -192,10 +202,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -205,7 +216,21 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/5_Billing_and_Pricing.dashboard.lookml b/LookML_Dashboard/5_Billing_and_Pricing.dashboard.lookml index f8cad2a5..c7fa3435 100644 --- a/LookML_Dashboard/5_Billing_and_Pricing.dashboard.lookml +++ b/LookML_Dashboard/5_Billing_and_Pricing.dashboard.lookml @@ -1,10 +1,44 @@ -- dashboard: sap_order_to_cash_o2c_05_billing_and_pricing - title: "[SAP ORDER TO CASH] O2C 05: Billing and Pricing" +- dashboard: billing_and_pricing + title: "[SAP OTC AR] 05: Billing and Pricing" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: VMRXJW8ou8ax9tT9Eiuyof elements: + - title: Navigation Bar + name: Navigation Bar + model: cortex_sap_operational + explore: Navigation_Bar + type: single_value + fields: [Navigation_Bar.dash_nav] + limit: 500 + custom_color_enabled: true + show_single_value_title: true + show_comparison: false + comparison_type: value + comparison_reverse_colors: false + show_comparison_label: true + enable_conditional_formatting: false + conditional_formatting_include_totals: false + conditional_formatting_include_nulls: false + show_view_names: false + show_row_numbers: true + transpose: false + truncate_text: true + hide_totals: false + hide_row_totals: false + size_to_fit: true + table_theme: white + limit_displayed_rows: false + header_text_alignment: left + header_font_size: 12 + rows_font_size: 12 + defaults_version: 1 + series_types: {} + listen: {} + row: 0 + col: 0 + width: 24 + height: 2 - name: Customer focused Price Variations type: text title_text: Customer focused Price Variations @@ -15,29 +49,27 @@ col: 0 width: 24 height: 2 - - name: Product focused Price Variations - type: text - title_text: Product focused Price Variations - subtitle_text: How Product Availability can trigger an - Intercompany Price ? - body_text: '' - row: 13 - col: 0 - width: 24 - height: 2 - - title: Price Adjustments based on Customer Profiling - name: Price Adjustments based on Customer Profiling + - title: " Price Adjustments based on Product Availability" + name: " Price Adjustments based on Product Availability" model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [customers_md.name1_name1, sales_orders.avg_list_price_global_currency_customer, - sales_orders.avg_adjusted_price_global_currency] - filters: - customers_md.name1_name1: "-NULL" - sales_order_pricing.avg_variation_in_listingprice_and_adjustedprice: NOT NULL - sales_orders.avg_variation_of_listprice_and_adjustedprice: NOT NULL - sorts: [sales_orders.avg_list_price_global_currency_customer desc] + fields: [data_intelligence_otc.product, data_intelligence_otc.average_list_price2, + data_intelligence_otc.average_intercompany_price] + filters: {} + sorts: [data_intelligence_otc.average_list_price2 desc] limit: 500 + dynamic_fields: [{measure: sum_of_intercompany_price_global_currency, based_on: data_intelligence_otc.intercompany_price_Global_currency, + expression: '', label: Sum of Intercompany Price Global Currency, type: sum, + _kind_hint: measure, _type_hint: number}, {measure: sum_of_discount_global_currency, + based_on: data_intelligence_otc.discount_Global_currency, expression: '', + label: Sum of Discount Global Currency, type: sum, _kind_hint: measure, _type_hint: number}, + {measure: average_of_intercompany_price_global_currency, based_on: data_intelligence_otc.intercompany_price_Global_currency, + expression: '', label: Average of Intercompany Price Global Currency, type: average, + _kind_hint: measure, _type_hint: number}, {measure: average_of_discount_global_currency, + based_on: data_intelligence_otc.discount_Global_currency, expression: '', + label: Average of Discount Global Currency, type: average, _kind_hint: measure, + _type_hint: number}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -50,12 +82,12 @@ y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false - plot_size_by_field: false + plot_size_by_field: true trellis: '' stacking: '' limit_displayed_rows: true legend_position: center - point_style: none + point_style: circle_outline show_value_labels: true label_density: 25 x_axis_scale: auto @@ -70,43 +102,78 @@ palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 options: steps: 5 - x_axis_label: Customer + size_by_field: data_intelligence_otc.averaage_discount limit_displayed_rows_values: show_hide: show first_last: first num_rows: '10' + series_types: {} series_colors: - sales_orders.avg_list_price_global_currency: "#F29ED2" - sales_orders.avg_adjusted_price_global_currency: "#A5EF55" - sales_orders.avg_list_price_global_currency_customer: "#F29ED2" + sum_of_discount_global_currency: "#F29ED2" series_labels: - sales_orders.avg_list_price_global_currency: Average List Price - sales_orders.avg_adjusted_price_global_currency: Avg Adjusted Price - sales_orders.avg_list_price_global_currency_customer: Avg List Price + data_intelligence_otc.average_list_price2: Average List Price + show_null_points: true defaults_version: 1 + interpolation: linear + up_color: false + down_color: false + total_color: false + groupBars: true + labelSize: 10pt + showLegend: true + leftAxisLabelVisible: false + leftAxisLabel: '' + rightAxisLabelVisible: false + rightAxisLabel: '' + smoothedBars: false + orientation: automatic + labelPosition: left + percentType: total + percentPosition: inline + valuePosition: right + labelColorEnabled: false + labelColor: "#FFF" listen: - Year: sales_order_pricing.checkbox_kdatu_date - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Currency: currency_conversion_pricing.tcurr - row: 4 + Sales Org: data_intelligence_otc.sales_org + Region: data_intelligence_otc.country + Year: data_intelligence_otc.creation_date_year + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Currency: data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + row: 15 col: 0 width: 24 - height: 9 - - title: Price Adjustments based on Product Availability - name: Price Adjustments based on Product Availability + height: 10 + - name: Product focused Price Variations + type: text + title_text: Product focused Price Variations + subtitle_text: How Product Availability can trigger an + Intercompany Price ? + body_text: '' + row: 13 + col: 0 + width: 24 + height: 2 + - title: Price Adjustments based on Customer Profiling + name: Price Adjustments based on Customer Profiling model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_column - fields: [materials_md.material_text_maktx, sales_orders.avg_list_price_global_currency_customer, - sales_orders.avg_intercompany_price_global_currency] + fields: [data_intelligence_otc.customer_name1, data_intelligence_otc.average_list_price1, + data_intelligence_otc.average_adjusted_price] filters: - sales_orders.avg_intercompany_price_global_currency: NOT NULL - sorts: [sales_orders.avg_intercompany_price_global_currency desc] + data_intelligence_otc.customer_name1: "-NULL" + sorts: [data_intelligence_otc.average_list_price1 desc] limit: 500 + dynamic_fields: [{measure: min_of_adjusted_price_global_currency, based_on: data_intelligence_otc.adjusted_price_Global_currency, + expression: '', label: Min of Adjusted Price Global Currency, type: min, _kind_hint: measure, + _type_hint: number}, {measure: average_of_adjusted_price_global_currency, + based_on: data_intelligence_otc.adjusted_price_Global_currency, expression: '', + label: Average of Adjusted Price Global Currency, type: average, _kind_hint: measure, + _type_hint: number}, {measure: average_of_list_price_global_currency, based_on: data_intelligence_otc.list_price_Global_currency, + expression: '', label: Average of List Price Global Currency, type: average, + _kind_hint: measure, _type_hint: number}] x_axis_gridlines: false y_axis_gridlines: true show_view_names: false @@ -139,42 +206,18 @@ palette_id: 93f8aeb4-3f4a-4cd7-8fee-88c3417516a1 options: steps: 5 - x_axis_label: Product + x_axis_label: Customer limit_displayed_rows_values: show_hide: show first_last: first num_rows: '10' + series_types: {} series_colors: - sales_orders.avg_list_price_global_currency: "#FCCF41" - sales_orders.avg_adjusted_price_global_currency: "#A5EF55" + average_of_list_price_global_currency: "#F29ED2" + data_intelligence_otc.average_list_price1: "#F29ED2" + data_intelligence_otc.average_adjusted_price: "#A5EF55" series_labels: - sales_orders.avg_list_price_global_currency: Average List Price - sales_orders.avg_adjusted_price_global_currency: Average Adjusted Price - sales_orders.avg_intercompany_price_global_currency: Avg Intercompany Price - sales_orders.avg_list_price_global_currency_customer: Avg List Price - defaults_version: 1 - listen: - Year: sales_order_pricing.checkbox_kdatu_date - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Currency: currency_conversion_pricing.tcurr - row: 15 - col: 0 - width: 24 - height: 9 - - title: New Tile - name: New Tile - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.dash_nav] - filters: - sales_orders.creation_date_erdat_date: 2022/01/01 to 2022/04/22 - limit: 500 - column_limit: 50 + data_intelligence_otc.average_list_price1: Average List Price custom_color_enabled: true show_single_value_title: true show_comparison: false @@ -184,47 +227,34 @@ enable_conditional_formatting: false conditional_formatting_include_totals: false conditional_formatting_include_nulls: false - series_types: {} defaults_version: 1 listen: - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Product: materials_md.material_text_maktx - Currency: currency_conversion_new.tcurr - row: 0 + Region: data_intelligence_otc.country + Division: data_intelligence_otc.division + Currency: data_intelligence_otc.Currency_Required + Product: data_intelligence_otc.product + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Year: data_intelligence_otc.creation_date_date + row: 4 col: 0 width: 24 - height: 2 + height: 9 filters: - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: - type: relative_timeframes + type: day_range_picker display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_order_pricing.checkbox_kdatu_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_pricing.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -234,10 +264,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -247,10 +278,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -260,10 +292,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -273,10 +306,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -284,9 +318,24 @@ allow_multiple_values: true required: false ui_config: - type: checkboxes - display: popover + type: dropdown_menu + display: inline + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency + title: Currency + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required diff --git a/LookML_Dashboard/5a_Price_Adjustments_based_on_Customer_Profiling.dashboard.lookml b/LookML_Dashboard/5a_Price_Adjustments_based_on_Customer_Profiling.dashboard.lookml index 390463ad..afe07e68 100644 --- a/LookML_Dashboard/5a_Price_Adjustments_based_on_Customer_Profiling.dashboard.lookml +++ b/LookML_Dashboard/5a_Price_Adjustments_based_on_Customer_Profiling.dashboard.lookml @@ -1,21 +1,22 @@ -- dashboard: sap_order_to_cash_o2c_05_a_price_adjustments_based_on_customer_profilingperformance_tuning - title: "[SAP ORDER TO CASH] O2C 05_a: Price Adjustments based on Customer Profiling" +- dashboard: price_adjustments_based_on_customer_profiling + title: "[SAP OTC AR] 05_a: Price Adjustments based on Customer Profiling" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: Z94oNLtpcjeajqE04BcyYs elements: - title: Price Adjustments based on Customer Profiling name: Price Adjustments based on Customer Profiling model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [customers_md.name1_name1, sales_orders.sales_document_vbeln, sales_orders.item_posnr, - materials_md.material_text_maktx, sales_orders.variation_of_listprice_and_adjustedprice, - sales_orders.cumulative_order_quantity_kwmeng, sales_orders.list_price_glob_curr, - sales_orders.adjusted_price_glob_curr, sales_orders.sales_order_netvalue_glob_curr_1] - sorts: [customers_md.name1_name1] - limit: 500 + fields: [data_intelligence_otc.Sold_To_Party, data_intelligence_otc.sales_order, + data_intelligence_otc.sales_order_line_item, data_intelligence_otc.sales_order_qty, + data_intelligence_otc.sales_order_net_value_Global_Currency, data_intelligence_otc.product, + data_intelligence_otc.list_price_Global_currency, data_intelligence_otc.adjusted_price_Global_currency, + data_intelligence_otc.variation_of_listprice_and_adjustedprice] + filters: {} + sorts: [data_intelligence_otc.Sold_To_Party] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -32,76 +33,70 @@ conditional_formatting_include_totals: false conditional_formatting_include_nulls: false show_sql_query_menu_options: false - column_order: ["$$$_row_numbers_$$$", customers_md.name1_name1, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_orders.cumulative_order_quantity_kwmeng, sales_orders.sales_order_netvalue_glob_curr_1, - materials_md.material_text_maktx, sales_orders.list_price_glob_curr, sales_orders.adjusted_price_glob_curr, - sales_orders.variation_of_listprice_and_adjustedprice] show_totals: true show_row_totals: true truncate_header: false - series_labels: - customers_md.name1_name1: Sold to Party - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - materials_md.material_text_maktx: Product - sales_orders.variation_of_listprice_and_adjustedprice: Variation Listprice and - Adjustedprice - sales_orders.sales_order_net_price_global_currency: Sales Order Net Value Global - Currency - sales_orders.list_price_global_currency: List Price Global Currency - sales_orders.adjusted_price_global_currency: Adjusted Price Global Currency - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.sales_order_netvalue_glob_curr: Sales Order Net Value Global Currency - sales_orders.list_price_glob_curr: List Price Global Currency - sales_orders.adjusted_price_glob_curr: Adjusted Price Global Currency - sales_orders.sales_order_netvalue_global_currency_product: Sales Order Net Value - Global Currency - sales_orders.sales_order_netvalue_glob_curr_1: Sales Order Net Value Global - Currency - series_cell_visualizations: - sales_orders.sales_order_net_price_global_currency: - is_active: false + series_column_widths: {} + series_text_format: + data_intelligence_otc.Sold_To_Party: {} + data_intelligence_otc.sales_order: {} + data_intelligence_otc.sales_order_line_item: {} + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.sales_order_net_value_Global_Currency: + align: right + data_intelligence_otc.product: {} + data_intelligence_otc.list_price_Global_currency: + align: right + data_intelligence_otc.variation_of_listprice_and_adjustedprice: + align: right + data_intelligence_otc.adjusted_price_Global_currency: + align: right + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - hidden_pivots: {} - hidden_fields: [] + series_types: {} listen: - Region: countries_md.country_name_landx - Product: materials_md.material_text_maktx - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Sales Org: sales_organizations_md.sales_org_name_vtext - Division: divisions_md.division_name_vtext - Currency: currency_conversion_pricing.tcurr - Year: sales_orders.creation_date_erdat_date + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Sales Order Net Value: data_intelligence_otc.sales_order_net_value_Global_Currency row: 0 col: 0 width: 24 height: 12 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.billing_and_pricing] - limit: 500 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - series_types: {} - defaults_version: 1 - listen: - Region: countries_md.country_name_landx - Product: materials_md.material_text_maktx - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Sales Org: sales_organizations_md.sales_org_name_vtext - Division: divisions_md.division_name_vtext - Currency: currency_conversion_new.tcurr - Year: sales_orders.creation_date_erdat_date + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' row: 12 col: 0 width: 24 @@ -110,30 +105,17 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/04/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: - type: relative_timeframes + type: day_range_picker display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_pricing.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -143,10 +125,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -156,10 +139,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -169,10 +153,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -182,10 +167,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -195,10 +181,24 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx + field: data_intelligence_otc.Currency_Required - name: Sales Order Net Value title: Sales Order Net Value type: field_filter @@ -212,6 +212,6 @@ min: 0 max: 2000 model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.sales_order_netvalue_global_currency_product + field: data_intelligence_otc.sales_order_net_value_Global_Currency diff --git a/LookML_Dashboard/5b_Price_Adjustments_based_on_Product_Availability.dashboard.lookml b/LookML_Dashboard/5b_Price_Adjustments_based_on_Product_Availability.dashboard.lookml index 65bdd462..9a6bd517 100644 --- a/LookML_Dashboard/5b_Price_Adjustments_based_on_Product_Availability.dashboard.lookml +++ b/LookML_Dashboard/5b_Price_Adjustments_based_on_Product_Availability.dashboard.lookml @@ -1,22 +1,21 @@ -- dashboard: sap_order_to_cash_o2c_05_b_price_adjustments_based_on_product_availabilityperformance_tuning - title: "[SAP ORDER TO CASH] O2C 05_b: Price Adjustments based on Product Availability" +- dashboard: price_adjustments_based_on_product_availability + title: "[SAP OTC AR] 05_b: Price Adjustments based on Product Availability" layout: newspaper preferred_viewer: dashboards-next description: '' - preferred_slug: czcqyrsOL08tBS64sMEj21 elements: - title: Price Adjustments based on Product Availability name: Price Adjustments based on Product Availability model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc type: looker_grid - fields: [materials_md.material_text_maktx, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_orders.cumulative_order_quantity_kwmeng, sales_orders.list_price_glob_curr, - sales_orders.adjusted_price_glob_curr, sales_orders.intercompany_price_glob_curr, - sales_orders.discount_glob_curr, customers_md.name1_name1, sales_orders.sales_order_netvalue_glob_curr_1] - sorts: [materials_md.material_text_maktx] - limit: 500 - column_limit: 50 + fields: [data_intelligence_otc.product, data_intelligence_otc.sales_order, data_intelligence_otc.sales_order_line_item, + data_intelligence_otc.sales_order_qty, data_intelligence_otc.sales_order_net_value_Global_Currency, + data_intelligence_otc.customer_name1, data_intelligence_otc.list_price_Global_currency, + data_intelligence_otc.intercompany_price_Global_currency, data_intelligence_otc.discount_Global_currency] + filters: {} + sorts: [data_intelligence_otc.product] + limit: 5000 show_view_names: false show_row_numbers: true transpose: false @@ -36,81 +35,62 @@ show_totals: true show_row_totals: true truncate_header: false - series_labels: - materials_md.material_text_maktx: Product - sales_orders.sales_document_vbeln: Sales Order - sales_orders.item_posnr: Sales Order Line Item - sales_orders.cumulative_order_quantity_kwmeng: Sales Order Qty - sales_orders.sales_order_netvalue_glob_curr: Sales Order Net Value Global Currency - sales_orders.list_price_glob_curr: List Price Global Currency - sales_orders.adjusted_price_glob_curr: Adjusted Price Global Currency - sales_orders.intercompany_price_glob_curr: Intercompany Price Global Currency - sales_orders.discount_glob_curr: Discount Global Currency - customers_md.name1_name1: Customer Name1 - sales_orders.sales_order_netvalue_glob_curr_1: Sales Order Net Value Global - Currency + series_text_format: + data_intelligence_otc.sales_order_qty: + align: right + data_intelligence_otc.sales_order_net_value_Global_Currency: + align: right + data_intelligence_otc.discount_Global_currency: + align: right + data_intelligence_otc.intercompany_price_Global_currency: + align: right + data_intelligence_otc.list_price_Global_currency: + align: right + x_axis_gridlines: false + y_axis_gridlines: true + show_y_axis_labels: true + show_y_axis_ticks: true + y_axis_tick_density: default + y_axis_tick_density_custom: 5 + show_x_axis_label: true + show_x_axis_ticks: true + y_axis_scale_mode: linear + x_axis_reversed: false + y_axis_reversed: false + plot_size_by_field: false + trellis: '' + stacking: '' + legend_position: center + point_style: none + show_value_labels: false + label_density: 25 + x_axis_scale: auto + y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" defaults_version: 1 - column_order: ["$$$_row_numbers_$$$", materials_md.material_text_maktx, sales_orders.sales_document_vbeln, - sales_orders.item_posnr, sales_orders.cumulative_order_quantity_kwmeng, sales_orders.sales_order_netvalue_glob_curr, - sales_orders.sales_order_netvalue_glob_curr_1, customers_md.name1_name1, sales_orders.list_price_glob_curr, - sales_orders.adjusted_price_glob_curr, sales_orders.intercompany_price_glob_curr, - sales_orders.discount_glob_curr] - series_cell_visualizations: - sales_orders.sales_order_netvalue_glob_curr_1: - is_active: false + series_types: {} listen: - Sales Order Net value: sales_orders.sales_order_netvalue_glob_curr - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Currency: currency_conversion_pricing.tcurr - Year: sales_orders.creation_date_erdat_date + Currency Required: data_intelligence_otc.Currency_Required + Year: data_intelligence_otc.creation_date_year + Region: data_intelligence_otc.country + Sales Org: data_intelligence_otc.sales_org + Distribution Channel: data_intelligence_otc.distribution_channel + Division: data_intelligence_otc.division + Product: data_intelligence_otc.product + Sales Order Net Value: data_intelligence_otc.sales_order_net_value_Global_Currency row: 0 col: 0 width: 24 height: 12 - - title: Untitled - name: Untitled - model: cortex_sap_operational - explore: sales_orders - type: single_value - fields: [sales_orders.billing_and_pricing] - limit: 500 - column_limit: 50 - custom_color_enabled: true - show_single_value_title: false - show_comparison: false - comparison_type: value - comparison_reverse_colors: false - show_comparison_label: true - enable_conditional_formatting: false - conditional_formatting_include_totals: false - conditional_formatting_include_nulls: false - show_view_names: false - show_row_numbers: true - transpose: false - truncate_text: true - hide_totals: false - hide_row_totals: false - size_to_fit: true - table_theme: white - limit_displayed_rows: false - header_text_alignment: left - header_font_size: 12 - rows_font_size: 12 - defaults_version: 1 - series_types: {} - listen: - Sales Order Net value: sales_orders.sales_order_netvalue_glob_curr - Product: materials_md.material_text_maktx - Division: divisions_md.division_name_vtext - Region: countries_md.country_name_landx - Sales Org: sales_organizations_md.sales_org_name_vtext - Distribution Channel: distribution_channels_md.distribution_channel_name_vtext - Currency: currency_conversion_new.tcurr - Year: sales_orders.creation_date_erdat_date + - name: '' + type: text + title_text: '' + subtitle_text: ' Home' + body_text: '' row: 12 col: 0 width: 24 @@ -119,30 +99,17 @@ - name: Year title: Year type: field_filter - default_value: 2022/01/01 to 2022/12/22 + default_value: 2022/01/01 to 2022/03/29 allow_multiple_values: true required: false ui_config: - type: relative_timeframes + type: day_range_picker display: inline options: [] model: cortex_sap_operational - explore: sales_orders - listens_to_filters: [] - field: sales_orders.creation_date_erdat_date - - name: Currency - title: Currency - type: field_filter - default_value: USD - allow_multiple_values: true - required: true - ui_config: - type: dropdown_menu - display: inline - model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: currency_conversion_pricing.tcurr + field: data_intelligence_otc.creation_date_year - name: Region title: Region type: field_filter @@ -152,10 +119,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: countries_md.country_name_landx + field: data_intelligence_otc.country - name: Sales Org title: Sales Org type: field_filter @@ -165,10 +133,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_organizations_md.sales_org_name_vtext + field: data_intelligence_otc.sales_org - name: Distribution Channel title: Distribution Channel type: field_filter @@ -178,10 +147,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: distribution_channels_md.distribution_channel_name_vtext + field: data_intelligence_otc.distribution_channel - name: Division title: Division type: field_filter @@ -191,10 +161,11 @@ ui_config: type: checkboxes display: popover + options: [] model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: divisions_md.division_name_vtext + field: data_intelligence_otc.division - name: Product title: Product type: field_filter @@ -204,14 +175,28 @@ ui_config: type: checkboxes display: popover + options: [] + model: cortex_sap_operational + explore: data_intelligence_otc + listens_to_filters: [] + field: data_intelligence_otc.product + - name: Currency Required + title: Currency Required + type: field_filter + default_value: "{{ _user_attributes['default_value_currency_required'] }}" + allow_multiple_values: true + required: false + ui_config: + type: dropdown_menu + display: inline model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: materials_md.material_text_maktx - - name: Sales Order Net value - title: Sales Order Net value + field: data_intelligence_otc.Currency_Required + - name: Sales Order Net Value + title: Sales Order Net Value type: field_filter - default_value: "[0,2000]" + default_value: "[1,2000]" allow_multiple_values: true required: false ui_config: @@ -221,6 +206,6 @@ min: 0 max: 2000 model: cortex_sap_operational - explore: sales_orders + explore: data_intelligence_otc listens_to_filters: [] - field: sales_orders.sales_order_netvalue_glob_curr + field: data_intelligence_otc.sales_order_net_value_Global_Currency diff --git a/Visualization/.gitkeep b/Visualization/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Visualization/radialgauge_v2.js b/Visualization/radialgauge_v2.js new file mode 100644 index 00000000..9bcb0ee9 --- /dev/null +++ b/Visualization/radialgauge_v2.js @@ -0,0 +1,30 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.radialgauge=t():e.radialgauge=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=67)}({0:function(e,t,n){var r={};!function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length=t?r:n("0",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}e.version="0.10.3";var l=Math.pow(2,32);function o(e,t){return e>l||e<-l?function(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}(Math.round(e),t)}function u(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var s=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],c=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function f(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e[65535]="General"}var d={};function h(e,t,n){for(var r=e<0?-1:1,a=e*r,i=0,l=1,o=0,u=1,s=0,c=0,f=Math.floor(a);st&&(s>t?(c=u,o=i):(c=s,o=l)),!n)return[0,r*o,c];var d=Math.floor(r*o/c);return[d,r*o-d*c,c]}function p(e,t,n){if(e>2958465||e<0)return null;var r=0|e,a=Math.floor(86400*(e-r)),i=0,l=[],o={D:r,T:a,u:86400*(e-r)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(r+=1462),o.u>.9999&&(o.u=0,86400==++a&&(o.T=a=0,++r,++o.D)),60===r)l=n?[1317,10,29]:[1900,2,29],i=3;else if(0===r)l=n?[1317,8,29]:[1900,1,0],i=6;else{r>60&&--r;var u=new Date(1900,0,1);u.setDate(u.getDate()+r-1),l=[u.getFullYear(),u.getMonth()+1,u.getDate()],i=u.getDay(),r<60&&(i=(i+6)%7),n&&(i=0)}return o.y=l[0],o.m=l[1],o.d=l[2],o.S=a%60,a=Math.floor(a/60),o.M=a%60,a=Math.floor(a/60),o.H=a,o.q=i,o}f(d),e.parse_date_code=p;var g=new Date(1899,11,31,0,0,0),v=g.getTime(),m=new Date(1900,2,1,0,0,0);function y(e,t){var n=e.getTime();return t?n-=1262304e5:e>=m&&(n+=864e5),(n-(v+6e4*(e.getTimezoneOffset()-g.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var b=function(){var e=/\.(\d*[1-9])0+$/,t=/\.0*$/,n=/\.(\d*[1-9])0+/,r=/\.0*[Ee]/,a=/(E[+-])(\d)$/;function i(n){return n.indexOf(".")>-1?n.replace(t,"").replace(e,".$1"):n}return function(t){var l=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return i(function(e){for(var t=0;t!=e.length;++t)if(101==(32|e.charCodeAt(t)))return e.replace(n,".$1").replace(r,"E").replace("e","E").replace(a,"$10$2");return e}(l>=-4&&l<=-1?t.toPrecision(10+l):Math.abs(l)<=9?function(e){var t=e<0?12:11,n=i(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(t):10===l?t.toFixed(10).substr(0,12):function(t){var n=t.toFixed(11).replace(e,".$1");return n.length>(t<0?12:11)&&(n=t.toPrecision(6)),n}(t)))}}();function _(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):b(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return N(14,y(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function w(e,t,n,a){var i,l="",o=0,u=0,f=n.y,d=0;switch(e){case 98:f=n.y+543;case 121:switch(t.length){case 1:case 2:i=f%100,d=2;break;default:i=f%1e4,d=4}break;case 109:switch(t.length){case 1:case 2:i=n.m,d=t.length;break;case 3:return c[n.m-1][1];case 5:return c[n.m-1][0];default:return c[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,d=t.length;break;case 3:return s[n.q][0];default:return s[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,d=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,d=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,d=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(u=a>=2?3===a?1e3:100:1===a?10:1,(o=Math.round(u*(n.S+n.u)))>=60*u&&(o=0),"s"===t?0===o?"0":""+o/u:(l=r(o,2+a),"ss"===t?l.substr(0,2):"."+l.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}d=3===t.length?1:2;break;case 101:i=f,d=1}return d>0?r(i,d):""}function x(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=b,e._general=_;var k=function(){var e=/%/g,l=/# (\?+)( ?)\/( ?)(\d+)/,u=/^#*0*\.([0#]+)/,s=/\).*[0#]/,c=/\(###\) ###\\?-####/;function f(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function d(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function p(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?0:Math.round((e-Math.floor(e))*Math.pow(10,t))}function g(v,m,y){if(40===v.charCodeAt(0)&&!m.match(s)){var b=m.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?g("n",b,y):"("+g("n",b,-y)+")"}if(44===m.charCodeAt(m.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return k(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(v,m,y);if(-1!==m.indexOf("%"))return function(t,r,a){var i=r.replace(e,""),l=r.length-i.length;return k(t,i,a*Math.pow(10,2*l))+n("%",l)}(v,m,y);if(-1!==m.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var l=Math.floor(Math.log(n)*Math.LOG10E)%i;if(l<0&&(l+=i),-1===(r=(n/Math.pow(10,l)).toPrecision(a+1+(i+l)%i)).indexOf("e")){var o=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+l):r+="E+"+(o-l);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+l)%i)+"."+r.substr(l)+"E"}))}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(m,y);if(36===m.charCodeAt(0))return"$"+g(v,m.substr(" "==m.charAt(1)?2:1),y);var _,w,T,E,C=Math.abs(y),S=y<0?"-":"";if(m.match(/^00+$/))return S+o(C,m.length);if(m.match(/^[#?]+$/))return"0"===(_=o(y,0))&&(_=""),_.length>m.length?_:f(m.substr(0,m.length-_.length))+_;if(w=m.match(l))return function(e,t,i){var l=parseInt(e[4],10),o=Math.round(t*l),u=Math.floor(o/l),s=o-u*l,c=l;return i+(0===u?"":""+u)+" "+(0===s?n(" ",e[1].length+1+e[4].length):a(s,e[1].length)+e[2]+"/"+e[3]+r(c,e[4].length))}(w,C,S);if(m.match(/^#+0+$/))return S+o(C,m.length-m.indexOf("0"));if(w=m.match(u))return _=d(y,w[1].length).replace(/^([^\.]+)$/,"$1."+f(w[1])).replace(/\.$/,"."+f(w[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(w[1]).length-t.length)})),-1!==m.indexOf("0.")?_:_.replace(/^0\./,".");if(m=m.replace(/^#+([0.])/,"$1"),w=m.match(/^(0*)\.(#*)$/))return S+d(C,w[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,w[1].length?"0.":".");if(w=m.match(/^#{1,3},##0(\.?)$/))return S+x(o(C,0));if(w=m.match(/^#,##0\.([#0]*0)$/))return y<0?"-"+g(v,m,-y):x(""+(Math.floor(y)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(y,w[1].length)))+"."+r(p(y,w[1].length),w[1].length);if(w=m.match(/^#,#*,#0/))return g(v,m.replace(/^#,#*,/,""),y);if(w=m.match(/^([0#]+)(\\?-([0#]+))+$/))return _=t(g(v,m.replace(/[\\-]/g,""),y)),T=0,t(t(m.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return T<_.length?_.charAt(T++):"0"===e?"0":""})));if(m.match(c))return"("+(_=g(v,"##########",y)).substr(0,3)+") "+_.substr(3,3)+"-"+_.substr(6);var M="";if(w=m.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return T=Math.min(w[4].length,7),E=h(C,Math.pow(10,T)-1,!1),_=""+S," "==(M=k("n",w[1],E[1])).charAt(M.length-1)&&(M=M.substr(0,M.length-1)+"0"),_+=M+w[2]+"/"+w[3],(M=i(E[2],T)).length-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(T,w[1].length);switch(m){case"###,##0.00":return g(v,"#,##0.00",y);case"###,###":case"##,###":case"#,###":var N=x(o(C,0));return"0"!==N?S+N:"";case"###,###.00":return g(v,"###,##0.00",y).replace(/^0\./,".");case"#,###.00":return g(v,"#,##0.00",y).replace(/^0\./,".")}throw new Error("unsupported format |"+m+"|")}function v(o,d,p){if(40===o.charCodeAt(0)&&!d.match(s)){var g=d.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return p>=0?v("n",g,p):"("+v("n",g,-p)+")"}if(44===d.charCodeAt(d.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return k(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(o,d,p);if(-1!==d.indexOf("%"))return function(t,r,a){var i=r.replace(e,""),l=r.length-i.length;return k(t,i,a*Math.pow(10,2*l))+n("%",l)}(o,d,p);if(-1!==d.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var l=Math.floor(Math.log(n)*Math.LOG10E)%i;if(l<0&&(l+=i),!(r=(n/Math.pow(10,l)).toPrecision(a+1+(i+l)%i)).match(/[Ee]/)){var o=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+l):r+="E+"+(o-l),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+l)%i)+"."+r.substr(l)+"E"}))}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(d,p);if(36===d.charCodeAt(0))return"$"+v(o,d.substr(" "==d.charAt(1)?2:1),p);var m,y,b,_,w=Math.abs(p),T=p<0?"-":"";if(d.match(/^00+$/))return T+r(w,d.length);if(d.match(/^[#?]+$/))return m=""+p,0===p&&(m=""),m.length>d.length?m:f(d.substr(0,d.length-m.length))+m;if(y=d.match(l))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(y,w,T);if(d.match(/^#+0+$/))return T+r(w,d.length-d.indexOf("0"));if(y=d.match(u))return m=(m=(""+p).replace(/^([^\.]+)$/,"$1."+f(y[1])).replace(/\.$/,"."+f(y[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(y[1]).length-t.length)})),-1!==d.indexOf("0.")?m:m.replace(/^0\./,".");if(d=d.replace(/^#+([0.])/,"$1"),y=d.match(/^(0*)\.(#*)$/))return T+(""+w).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,y[1].length?"0.":".");if(y=d.match(/^#{1,3},##0(\.?)$/))return T+x(""+w);if(y=d.match(/^#,##0\.([#0]*0)$/))return p<0?"-"+v(o,d,-p):x(""+p)+"."+n("0",y[1].length);if(y=d.match(/^#,#*,#0/))return v(o,d.replace(/^#,#*,/,""),p);if(y=d.match(/^([0#]+)(\\?-([0#]+))+$/))return m=t(v(o,d.replace(/[\\-]/g,""),p)),b=0,t(t(d.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return b-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":default:++t}return!1}function S(e,t,n,r){for(var a,i,l,o=[],s="",c=0,f="",d="t",h="H";c=12?"P":"A"),m.t="T",h="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,h="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";o[o.length]=m,d=f;break;case"[":for(s=f;"]"!==e.charAt(c++)&&c-1&&(s=(s.match(/\$([^-\[\]]*)/)||[])[1]||"$",C(e)||(o[o.length]={t:"t",v:s}));break;case".":if(null!=a){for(s=f;++c-1||"\\"==f&&"-"==e.charAt(c+1)&&c-1;)s+=f;o[o.length]={t:"n",v:s};break;case"?":for(s=f;e.charAt(++c)===f;)s+=f;o[o.length]={t:f,v:s},d=f;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":o[o.length]={t:1===r?"t":f,v:f},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(s=f;c-1;)s+=e.charAt(c);o[o.length]={t:"D",v:s};break;case" ":o[o.length]={t:f,v:f},++c;break;case"$":o[o.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"t",v:f},++c}var y,b=0,x=0;for(c=o.length-1,d="t";c>=0;--c)switch(o[c].t){case"h":case"H":o[c].t=h,d="h",b<1&&(b=1);break;case"s":(y=o[c].v.match(/\.0+$/))&&(x=Math.max(x,y[0].length-1)),b<3&&(b=3);case"d":case"y":case"M":case"e":d=o[c].t;break;case"m":"s"===d&&(o[c].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&o[c].v.match(/[Hh]/)&&(b=1),b<2&&o[c].v.match(/[Mm]/)&&(b=2),b<3&&o[c].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var T,S="";for(c=0;c0){40==S.charCodeAt(0)?(M=t<0&&45===S.charCodeAt(0)?-t:t,P=k("(",S,M)):(P=k("n",S,M=t<0&&r>1?-t:t),M<0&&o[0]&&"t"==o[0].t&&(P=P.substr(1),o[0].v="-"+o[0].v)),T=P.length-1;var N=o.length;for(c=0;c-1){N=c;break}var O=o.length;if(N===o.length&&-1===P.indexOf("E")){for(c=o.length-1;c>=0;--c)null!=o[c]&&-1!=="n?(".indexOf(o[c].t)&&(T>=o[c].v.length-1?(T-=o[c].v.length,o[c].v=P.substr(T+1,o[c].v.length)):T<0?o[c].v="":(o[c].v=P.substr(0,T+1),T=-1),o[c].t="t",O=c);T>=0&&O=0;--c)if(null!=o[c]&&-1!=="n?(".indexOf(o[c].t)){for(i=o[c].v.indexOf(".")>-1&&c===N?o[c].v.indexOf(".")-1:o[c].v.length-1,A=o[c].v.substr(i+1);i>=0;--i)T>=0&&("0"===o[c].v.charAt(i)||"#"===o[c].v.charAt(i))&&(A=P.charAt(T--)+A);o[c].v=A,o[c].t="t",O=c}for(T>=0&&O-1&&c===N?o[c].v.indexOf(".")+1:0,A=o[c].v.substr(0,i);i-1&&(M=r>1&&t<0&&c>0&&"-"===o[c-1].v?-t:t,o[c].v=k(o[c].t,o[c].v,M),o[c].t="t");var R="";for(c=0;c!==o.length;++c)null!=o[c]&&(R+=o[c].v);return R}e.is_date=C,e._eval=S;var M=/\[[=<>]/,P=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function A(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function N(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:d)[e]}if(u(r,0))return _(t,n);t instanceof Date&&(t=y(t,n.date1904));var a=function(e,t){var n=T(e),r=n.length,a=n[r-1].indexOf("@");if(r<4&&a>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||a>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=a>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=a>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=a>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var i=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,i];if(null!=n[0].match(M)||null!=n[1].match(M)){var l=n[0].match(P),o=n[1].match(P);return A(t,l)?[r,n[0]]:A(t,o)?[r,n[1]]:[r,n[null!=l&&null!=o?2:1]]}return[r,i]}(r,t);if(u(a[1]))return _(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return S(a[1],t,n,a[0])}function O(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=d[n]){if(d[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return d[t]=e,t}e.load=O,e._table=d,e.get_table=function(){return d},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&O(e[t],t)},e.init_table=f,e.format=N}(r),"undefined"==typeof DO_NOT_EXPORT_SSF&&(e.exports=r)},1:function(e,t,n){"use strict";e.exports=n(63)},21:function(e,t,n){"use strict"; +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;uA.length&&A.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,a){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var u=!1;if(null===t)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case l:u=!0}}if(u)return r(a,t,""===n?"."+z(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s