Delivered value by branch in 2025
Compare this view with your first Tableau worksheet. Each bar aggregates all delivered order lines for one branch.
- Gulu
5,050,000 UGX - Kampala
3,400,000 UGX - Jinja
2,710,000 UGX
Check your reading
The three marks add to UGX 11,160,000. If the number of marks changes after adding a field to Detail, inspect which records each mark now groups.
Open the case files, data dictionary and portfolio challenge
End-to-End Tableau for Beginners
At 1:55, watch Kriebel connect a file and inspect its fields. At 8:57, watch how he builds a ranked bar chart.
- Try it
- Connect orders.csv in Tableau and make a bar for each branch using the lesson’s delivered-sales calculation.
- Check your work
- The view has three bars. Inspect the marks and confirm that the measure sums sales amounts, rather than counting rows.
A distributor wants to know which branch delivered the greatest value of goods last year. Each row in orders.csv represents one order for one product. A unit price records the agreed selling price in Ugandan shillings. Value delivered is the number of units actually supplied multiplied by that price.
- Download orders.csv and keep the original unchanged. Open Tableau Desktop or Tableau Desktop Public Edition. Under Connect choose Text File, select orders.csv, then open Sheet 1. In the Data pane, rename any automatically prettified fields back to the exact source header when entering the formulas below, or insert each field from the list in the calculation editor.
- Use the icons beside each field to set order_date to Date, order_id and product_id to String, and the quantity, price and cost columns to Number (whole). Drag branch to Rows. Under Analysis choose Create Calculated Field. Name the field Delivered value and enter the expression below.
- Drag Delivered value to Columns. Keep the aggregation at SUM. Choose Bar on the Marks card, turn on mark labels, and sort descending. Rename the sheet Branch value 2025. Label the axis Delivered value (UGX) and display whole amounts.
[delivered_units] * [unit_price_ugx]Read the bars in order. Gulu delivered UGX 5,050,000, Kampala UGX 3,400,000 and Jinja UGX 2,710,000. Each mark combines several order records. Double-clicking a measure or dropping order_id on Detail changes the view, so check the number of marks after every change.