# View: royalty_accounting_prod_stmt_db_sales_distro

**View Name:** royalty_accounting_prod_stmt_db_sales_distro
**Table Source:** `royalty_accounting.prod.stmt_db_sales_distro`
**File Path:** `views/royalty_accounting_prod_stmt_db_sales_distro.view.lkml`

## Overview

- **File Size:** 5246 bytes
- **Lines of Code:** 255
- **Dimensions:** 27
- **Measures:** 3
- **Dimension Groups:** 2
- **Filters:** 0

## Comments & Notes

- check if this is gross or net
- check if this is gross or net

## Dimensions

| Name | Type |
|------|------|
| `txn_id` | number |
| `unique_detail_id` | number |
| `sales_file_id` | number |
| `batch_id` | number |
| `statement_id` | number |
| `store_id` | number |
| `subdistributor` | string |
| `sale_currency_code` | string |
| `sale_currency_code_id` | number |
| `activity_rate` | number |
| `country_id` | number |
| `configuration` | string |
| `transaction_type` | string |
| `transaction_type_id` | number |
| `transaction_subtype_id` | number |
| `label_id` | number |
| `upc` | number |
| `cd` | number |
| `track_id` | number |
| `isrc` | string |
| `track_name` | string |
| `video_id` | string |
| `unit_price_usd` | number |
| `retail_price_usd` | number |
| `original_price_usd` | number |
| `discount_usd` | number |
| `phys_ppd_usd` | number |

## Measures

| Name | Type |
|------|------|
| `quantity` | sum |
| `total_usd` | sum |
| `withholding_tax_usd` | sum |

## Dimension Groups

| Name | Type |
|------|------|
| `start_date` | time |
| `transaction_date` | time |

