Site Summary: Difference between revisions
Appearance
| Line 161: | Line 161: | ||
* '''Total Revenue Site''' – Sums up all revenue values for the selected site. | * '''Total Revenue Site''' – Sums up all revenue values for the selected site. | ||
|- | |||
|3. '''Total Revenue By Carrier''' | |||
|Total Revenue Site =<pre>SUM('Combined Quatations Tables2'[Revenue2])</pre> | |||
|Total Revenue by Carrier shows the sum of revenue grouped by each carrier, allowing comparison of carrier performance. | |||
|- | |||
|4.'''TotalYield and Target Yield By Month Year''' | |||
|TotalYield Site =<pre>IF ( | |||
AND ( [Chargeable Weight] > 0, [Total Revenue Site] > 0 ), | |||
[Total Revenue Site] / [Chargeable Weight] | |||
)</pre> | |||
| | |||
* '''Total Yield by Month/Year''' – Shows the actual yield (revenue ÷ chargeable weight) summarized for each month and year. | |||
* '''Target Yield by Month/Year''' – Displays the preset yield targets for each site, organized by month and year, for comparison against actual yield. | |||
|- | |||
|5. '''Total Revenue & Chargeable Weight By Month''' | |||
|CHW (KG) =<pre>SUMX ( | |||
'Combined Quatations Tables2', | |||
IF ( | |||
'Combined Quatations Tables2'[weight_unit] = "lb", | |||
'Combined Quatations Tables2'[chargeable_weight] * 0.45359237, | |||
'Combined Quatations Tables2'[chargeable_weight] -- already in KG | |||
) | |||
)</pre> | |||
Total Revenue Site = <pre>SUM('Combined Quatations Tables2'[Revenue2])</pre> | |||
| | |||
* '''Total Revenue by Month/Year''' – Shows the total revenue summarized for each month and year. | |||
* '''Chargeable Weight by Month/Year''' – Displays the total chargeable weight summarized for each month and year. | |||
|} | |} | ||
Revision as of 13:26, 2 October 2025
Summary
The Site Summary page is part of the Yield, Weight, and Revenue report. It includes site currencies and displays data across various carriers.
Filters
| Filter | Description |
|---|---|
| Database | Select the reporting database. |
| Site | Choose the location or branch for the report. |
| Carrier | Filter by transport provider. |
| Service | Narrow results by type of service offered. |
| Customer | View data for a specific customer. |
| Commodity Type | Filter by category of goods. |
| Product Type | Select specific product groups. |
| Date | Define the reporting period (weekly, monthly, or custom range). |
| Site Currency | Select specific currency of the revenue. |
Data Transformation Applied
| Query | Transformations |
|---|---|
| let
Source = MySQL.Database( "qms-reporting.cluster-ro-cbuxcavwaolv.eu-west-2.rds.amazonaws.com", "db", [ ReturnSingleDatabase = true, CommandTimeout = #duration(0, 10, 0, 0), |
|
Calculations
| Columns | Calculation | Description |
|---|---|---|
| 1. Total Yield&Target Yield By Date | TotalYield Site =
IF ( AND ( [Chargeable Weight] > 0, [Total Revenue Site] > 0 ), [Total Revenue Site] / [Chargeable Weight] ) Target Yield = SWITCH(
TRUE(),
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "hae", 0.87,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "alb", 2.92,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "hai", 2.78,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "us", 2.03,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "nbo", 0.88,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "dxb", 0.68,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "scl", 1.76,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "HAE" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "sao", 2.34,
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "AIRCROSS" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "AirCross", 1.00, -- placeholder
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "ACS" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "Ireland", 1.00, -- placeholder
SELECTEDVALUE('Combined Quatations Tables2'[Database]) = "GROUPAIR" &&
SELECTEDVALUE('Combined Quatations Tables2'[Site]) = "GPA", 1.00, -- placeholder
BLANK()
|
|
| 2. Total Revenue and Chargeable Weight By Date | CHW (KG) =
SUMX ( 'Combined Quatations Tables2', IF ( 'Combined Quatations Tables2'[weight_unit] = "lb", 'Combined Quatations Tables2'[chargeable_weight] * 0.45359237, 'Combined Quatations Tables2'[chargeable_weight] -- already in KG ) )
SUM('Combined Quatations Tables2'[Revenue2])
|
|
| 3. Total Revenue By Carrier | Total Revenue Site =SUM('Combined Quatations Tables2'[Revenue2])
|
Total Revenue by Carrier shows the sum of revenue grouped by each carrier, allowing comparison of carrier performance. |
| 4.TotalYield and Target Yield By Month Year | TotalYield Site =IF ( AND ( [Chargeable Weight] > 0, [Total Revenue Site] > 0 ), [Total Revenue Site] / [Chargeable Weight] ) |
|
| 5. Total Revenue & Chargeable Weight By Month | CHW (KG) =SUMX ( 'Combined Quatations Tables2', IF ( 'Combined Quatations Tables2'[weight_unit] = "lb", 'Combined Quatations Tables2'[chargeable_weight] * 0.45359237, 'Combined Quatations Tables2'[chargeable_weight] -- already in KG ) )
SUM('Combined Quatations Tables2'[Revenue2])
|
|