Xeplr BI · 13 videos · 23:03

Build a dashboard in Xeplr BI

Thirteen short videos that build one real dashboard, E-Commerce Statistics, from an empty board: the data behind it, the nightly data move it needs, revenue tiles that compare this month with the last, a ranking, charts and a sparkline. Each one is a minute or two, and each starts where the last one stopped.

  1. Tutorial 1Start a dashboard: model, links and date filter

    Create the dashboard, bring in its data, link the data, and pick a period.

    Chapters
    1. 0:00 Intro
    2. 0:10 New dashboard
    3. 0:13 Name and description
    4. 0:24 The Model tab
    5. 0:27 Bring in datasets: orders, Customer, New Vs Old Customers
    6. 0:43 Link orders to customers (inner join)
    7. 0:54 The date filter: July 2023
    8. 1:00 Save

    In the docs: 05.2 Create a dashboard

  2. Tutorial 2The datasets behind the dashboard: two periods and a union

    Before any widget, the data: one filter that brings this period and the one before, and a dataset stacked from two parts.

    Chapters
    1. 0:00 Intro
    2. 0:10 The orders dataset: seven joined tables
    3. 0:20 One filter, two periods: placed_at between :prev_start_date and :end_date
    4. 0:31 The built-in parameters come from the board's date filter
    5. 0:36 A sample run: June to July 2023
    6. 0:50 New Vs Old Customers: a union of two parts
    7. 0:59 UNION ALL and Part 2
    8. 1:04 The same two-period filter on both parts

    In the docs: 03.7 Filters and parameters, 03.8 Stack tables (union)

  3. Tutorial 3Where new customers come from: a scheduled data move

    The New Customers tile needs each customer's first purchase date. That comes from a data move: a SQL query, written into its own table, every night.

    Chapters
    1. 0:00 Intro
    2. 0:12 Move Data: the New Customers move
    3. 0:17 Source: SQL query, target: new_customers, write: replace
    4. 0:29 Step 1, Source: the SQL (each customer's earliest order)
    5. 0:41 Step 2, Sample the source
    6. 0:46 Step 3, Target: min(placed_at) becomes firstPurchased
    7. 0:53 Step 4, Write: Replace
    8. 1:00 Step 5, Run: scheduled daily at 02:00
    9. 1:07 Run history and Roll back
    10. 1:13 A dataset reads new_customers like any table

    In the docs: 02.4 Move data between databases

  4. Tutorial 4Build a Smart Tile: this month vs last month

    A Total Revenue tile from an empty widget: one query, pivoted by month, newest first, shown in crores.

    Chapters
    1. 0:00 Intro
    2. 0:08 Set the board to July 2023
    3. 0:14 + Widget, then Save once
    4. 0:20 Tick placed_at and line_total
    5. 0:26 Move line_total to Values
    6. 0:31 Pivot on placed_at, newest first
    7. 0:40 Show the date as months
    8. 0:47 line_total as currency, in crores
    9. 0:57 Save, back to the canvas
    10. 1:02 Type: Smart Tile
    11. 1:09 Name it
    12. 1:15 Element titles: This Period, Vs Prev Period
    13. 1:26 Size the tile, and Save

    In the docs: 05.3 Add and edit widgets

  5. Tutorial 5Show the change as a trend: month-over-month %

    Add a Change column worked out from the columns to its left, and show it as a green or red trend arrow.

    Chapters
    1. 0:00 Intro
    2. 0:09 Set the date to July 2023
    3. 0:14 Open the tile's editor
    4. 0:19 + Column: a column worked out from the ones to its left
    5. 0:23 $thisrow[-1] and $thisrow[-2]
    6. 0:30 Name it Change: (July - June) / June
    7. 0:40 Format: Percent
    8. 0:49 Save, back to the canvas
    9. 0:54 The third element: Change
    10. 0:59 Show as trend
    11. 1:06 Save: revenue up 15.5% on June

    In the docs: 05.3 Add and edit widgets, 04.12 Refer to the current row

  6. Tutorial 6Conditional formatting on a Smart Tile

    A rule colours a value when a condition is met. Here, This Period turns red whenever revenue is down on the period before.

    Chapters
    1. 0:00 Intro
    2. 0:10 Set the date to July 2023
    3. 0:14 Conditional formatting, + Add a rule
    4. 0:20 When Change is less than 0
    5. 0:25 Apply to the value of This Period, in red
    6. 0:32 Test it: raise the line to 0.2 (20%)
    7. 0:44 Back to 0, and Save

    In the docs: 05.4 Style and highlight

  7. Tutorial 7Step month by month with the ‹ › date arrows

    When a dashboard's date is one whole period (a month, a quarter or a year), arrows step to the period before or after. Watch the formatting rule fire in November.

    Chapters
    1. 0:00 Intro
    2. 0:11 Pick July 2023
    3. 0:16 The ‹ › arrows appear for a whole month
    4. 0:21 August, September, October
    5. 0:35 November: down 0.9%, the rule turns it red
    6. 0:44 Stepping back
    7. 0:51 When there are no arrows

    In the docs: 05.5 Filters on a dashboard

  8. Tutorial 8Top 5 and rank: keep only the current month

    A Top 5 Categories bar chart: rank by revenue, show the rank, and keep only the month picked on the board.

    Chapters
    1. 0:00 Intro
    2. 0:08 + Widget, Save once
    3. 0:15 Tick name and line_total, move line_total to Values
    4. 0:23 The dataset brings two months; a ranking needs one
    5. 0:28 Filter rows: placed_at is between :start_date, :end_date
    6. 0:43 Untick placed_at: the filter stays
    7. 0:55 Show: Top 5, with rank
    8. 1:00 Horizontal bar, named Top 5 Categories
    9. 1:12 Drag beside the tile, and Save

    In the docs: 04.5 Pivot, top N and more

  9. Tutorial 9Column formulas ($thisrow) for average order value

    A Top 10 Products table with an average-order-value column worked out from the columns beside it, like a spreadsheet formula. With tips on summing vs counting, and why Top N does not sort.

    Chapters
    1. 0:00 Intro
    2. 0:13 + Widget, Save once
    3. 0:22 Tick products_name, line_total and id; move the numbers to Values
    4. 0:33 Count id instead of summing it
    5. 0:50 Keep this month only
    6. 1:10 Top 10 with rank
    7. 1:17 Top 10 picks rows, it does not order them; sort by line_total
    8. 1:27 line_total as currency
    9. 1:33 + Column: AoV = $thisrow[-2] / $thisrow[-1]
    10. 1:52 Save; switch off sorting, column filters and pages
    11. 2:07 Name it Top 10 Products, place it, Save

    In the docs: 04.12 Refer to the current row, 04.7 Formulas

  10. Tutorial 10A values-only pie with a hidden column: new vs returning customers

    A pie from two numbers: a column formula works out the returning customers, and a hidden column keeps its place so the formula still reads it.

    Chapters
    1. 0:00 Intro
    2. 0:13 + Widget, Save once
    3. 0:20 Search finds a column in every dataset
    4. 0:27 New Customers and Old Customers, as Values
    5. 0:40 A values-only report: one row of values
    6. 0:46 Rename Old Customers to All Customers
    7. 0:55 This month only: date is between :start_date, :end_date
    8. 1:12 + Column: Old Customers = $thisrow[-1] - $thisrow[-2]
    9. 1:25 Hide All Customers with its eye
    10. 1:40 Pie, named New vs Returning Customers
    11. 1:55 Data labels: name, value and share
    12. 2:05 Save

    In the docs: 04.8 Charts

  11. Tutorial 11Copy a tile, change its data: total orders and average order value

    The quickest way to a new tile is a finished one: copy it and change only its data. Titles, trend and rules come along.

    Chapters
    1. 0:00 Intro
    2. 0:12 Make room: move Top 5 Categories
    3. 0:24 Copy and paste the revenue tile
    4. 0:36 A copy is a widget of its own
    5. 0:43 Total Orders: swap line_total for a count of id
    6. 1:09 Elements follow position, not names
    7. 1:22 Avg Order Value: Avg instead of Sum, no crore scale
    8. 2:03 Three tiles from one

    In the docs: 05.6 Layout, copy and reuse

  12. Tutorial 12Bars and a line on two axes: daily revenue vs orders

    A Daily Stats chart: revenue as bars on the left axis, orders as a line on the right, one row per day of the month picked.

    Chapters
    1. 0:00 Intro
    2. 0:09 + Widget, Save once
    3. 0:15 placed_at, line_total and a count of id
    4. 0:31 One row per day, this month only
    5. 0:50 Sort the days
    6. 1:05 Currency, Save, back to the canvas
    7. 1:13 Area chart, named Daily Stats
    8. 1:22 Series: revenue as bars, orders as a line on the right
    9. 1:35 A series drawn unlike the chart jumps to the right axis
    10. 1:53 Place it and Save

    In the docs: 04.8 Charts

  13. Tutorial 13A sparkline under a tile: layer, align and group

    A tile says how much; a sparkline says how it got there. A stripped-down area chart, laid along the bottom of a tile and grouped with it so the two move as one.

    Chapters
    1. 0:00 Intro
    2. 0:10 A daily revenue widget, this month only, sorted by day
    3. 0:45 Area chart, named Revenue sparkline
    4. 0:55 Switch off the card, title, legend, tooltip, axes and grain buttons
    5. 1:20 Fit to data starts the axis near the lowest day
    6. 1:27 Green, with a faint fill
    7. 1:37 Size it to the tile
    8. 1:50 Select both, Align Top and Left
    9. 2:05 Drag it to the tile's bottom edge
    10. 2:12 Shift-click and Group
    11. 2:20 Save

    In the docs: 05.6 Layout, copy and reuse

See it against your own data

A demo runs on your schema, not a sample dataset. Thirty minutes, no deck.

Let’s automate

Tell us what you want to answer

Thirty minutes on your own data, not a sample. We reply within one working day.

No backend is wired up yet, so this opens your email client with the details filled in.

Prefer to talk? Book a 30-minute call