Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

3.4 KB
Raw Blame
name: Fields and Expressions
entity_id: fLdExPr3sS10nS0ExAmPl
creator_id: [email protected]
display: table
collection_id: cOlQuErIeS0ExAmPlE2x1
parameters: []
parameter_mappings: []
dataset_query:
  database: Sample Database
  stages:
  - expressions:
    - - '-'
      - lib/expression-name: Profit
      - - field
        - base-type: type/Float
        - - Sample Database
          - PUBLIC
          - ORDERS
          - TOTAL
      - - field
        - base-type: type/Float
        - - Sample Database
          - PUBLIC
          - ORDERS
          - TAX
    fields:
    - - field
      - {}
      - - Sample Database
        - PUBLIC
        - ORDERS
        - CREATED_AT
    - - field
      - {}
      - - Sample Database
        - PUBLIC
        - ORDERS
        - TOTAL
    - - field
      - {}
      - - Sample Database
        - PUBLIC
        - ORDERS
        - TAX
    - - expression
      - {}
      - Profit
    limit: 100
    source-table:
    - Sample Database
    - PUBLIC
    - ORDERS
    lib/type: mbql.stage/mbql
  lib/type: mbql/query
result_metadata:
- active: true
  base_type: type/DateTimeWithLocalTZ
  database_type: TIMESTAMP WITH TIME ZONE
  display_name: Created At
  effective_type: type/DateTimeWithLocalTZ
  field_ref:
  - field
  - - Sample Database
    - PUBLIC
    - ORDERS
    - CREATED_AT
  - null
  id:
  - Sample Database
  - PUBLIC
  - ORDERS
  - CREATED_AT
  name: CREATED_AT
  position: 7
  semantic_type: type/CreationTimestamp
  source: fields
  table_id:
  - Sample Database
  - PUBLIC
  - ORDERS
  visibility_type: normal
  lib/deduplicated-name: CREATED_AT
  lib/desired-column-alias: CREATED_AT
  lib/original-display-name: Created At
  lib/original-name: CREATED_AT
  lib/source: source/table-defaults
  lib/source-column-alias: CREATED_AT
- active: true
  base_type: type/Float
  database_type: DOUBLE PRECISION
  display_name: Total
  effective_type: type/Float
  field_ref:
  - field
  - - Sample Database
    - PUBLIC
    - ORDERS
    - TOTAL
  - null
  id:
  - Sample Database
  - PUBLIC
  - ORDERS
  - TOTAL
  name: TOTAL
  position: 5
  source: fields
  table_id:
  - Sample Database
  - PUBLIC
  - ORDERS
  visibility_type: normal
  lib/deduplicated-name: TOTAL
  lib/desired-column-alias: TOTAL
  lib/original-display-name: Total
  lib/original-name: TOTAL
  lib/source: source/table-defaults
  lib/source-column-alias: TOTAL
- active: true
  base_type: type/Float
  database_type: DOUBLE PRECISION
  display_name: Tax
  effective_type: type/Float
  field_ref:
  - field
  - - Sample Database
    - PUBLIC
    - ORDERS
    - TAX
  - null
  id:
  - Sample Database
  - PUBLIC
  - ORDERS
  - TAX
  name: TAX
  position: 4
  source: fields
  table_id:
  - Sample Database
  - PUBLIC
  - ORDERS
  visibility_type: normal
  lib/deduplicated-name: TAX
  lib/desired-column-alias: TAX
  lib/original-display-name: Tax
  lib/original-name: TAX
  lib/source: source/table-defaults
  lib/source-column-alias: TAX
- base_type: type/Float
  display_name: Profit
  effective_type: type/Float
  field_ref:
  - expression
  - Profit
  name: Profit
  source: fields
  lib/deduplicated-name: Profit
  lib/desired-column-alias: Profit
  lib/expression-name: Profit
  lib/original-name: Profit
  lib/source: source/expressions
  lib/source-column-alias: Profit
visualization_settings: {}
card_schema: 24
serdes/meta:
- model: Card
metabase_version: v1.57.1-SNAPSHOT (14ff27d)
type: question