mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
242 lines
5.5 KiB
YAML
242 lines
5.5 KiB
YAML
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
always_filter_main_dttm: false
|
|
cache_timeout: null
|
|
catalog: null
|
|
columns:
|
|
- advanced_data_type: null
|
|
column_name: id
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: INTEGER
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: transaction_date
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: true
|
|
python_date_format: null
|
|
type: DATE
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: region
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(50)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: country
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(50)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: product_category
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(50)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: product_name
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(100)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: quantity
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: INTEGER
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: unit_price
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: NUMERIC(12,2)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: revenue
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: NUMERIC(14,2)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: cost
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: NUMERIC(14,2)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: profit
|
|
description: null
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: NUMERIC(14,2)
|
|
verbose_name: null
|
|
- advanced_data_type: null
|
|
column_name: currency_code
|
|
description: Currency code for dynamic formatting (USD, EUR, GBP, JPY, CAD, AUD)
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(10)
|
|
verbose_name: Currency Code
|
|
- advanced_data_type: null
|
|
column_name: currency_symbol
|
|
description: Currency symbol for display
|
|
expression: null
|
|
extra: null
|
|
filterable: true
|
|
groupby: true
|
|
is_active: true
|
|
is_dttm: false
|
|
python_date_format: null
|
|
type: VARCHAR(10)
|
|
verbose_name: Currency Symbol
|
|
data_file: data.parquet
|
|
database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee
|
|
default_endpoint: null
|
|
description: International sales transactions across multiple currencies for demonstrating dynamic currency formatting features.
|
|
extra:
|
|
currency_code_column: currency_code
|
|
fetch_values_predicate: null
|
|
filter_select_enabled: true
|
|
folders: null
|
|
main_dttm_col: transaction_date
|
|
metrics:
|
|
- currency: null
|
|
d3format: null
|
|
description: null
|
|
expression: COUNT(*)
|
|
extra: null
|
|
metric_name: count
|
|
metric_type: count
|
|
verbose_name: COUNT(*)
|
|
warning_text: null
|
|
- currency: null
|
|
d3format: ',.2f'
|
|
description: Total revenue
|
|
expression: SUM(revenue)
|
|
extra: null
|
|
metric_name: sum_revenue
|
|
metric_type: null
|
|
verbose_name: Total Revenue
|
|
warning_text: null
|
|
- currency: null
|
|
d3format: ',.2f'
|
|
description: Total profit
|
|
expression: SUM(profit)
|
|
extra: null
|
|
metric_name: sum_profit
|
|
metric_type: null
|
|
verbose_name: Total Profit
|
|
warning_text: null
|
|
- currency: null
|
|
d3format: ',.2f'
|
|
description: Total cost
|
|
expression: SUM(cost)
|
|
extra: null
|
|
metric_name: sum_cost
|
|
metric_type: null
|
|
verbose_name: Total Cost
|
|
warning_text: null
|
|
- currency: null
|
|
d3format: null
|
|
description: Total quantity sold
|
|
expression: SUM(quantity)
|
|
extra: null
|
|
metric_name: sum_quantity
|
|
metric_type: null
|
|
verbose_name: Total Quantity
|
|
warning_text: null
|
|
normalize_columns: false
|
|
offset: 0
|
|
params: null
|
|
schema: null
|
|
sql: null
|
|
table_name: international_sales
|
|
template_params: null
|
|
uuid: e4b5c6d7-8f9a-0b1c-2d3e-4f5a6b7c8d9e
|
|
version: 1.0.0
|