type
Post
status
Published
slug
power-bi-car
summary
A dashboard for a uber-like business using Power BI.
category
Data Viz
tags
Data Analysis
Power BI
date
Aug 7, 2024 02:12 AM
password
icon
Priority
URL
1. The idea - Uber for campus
MonCity's is self-driving / autonomous vehicles system network. Much like Uber for campus — designed to transport students and staff within and between the different zones of the university campus.
- We aim to enhance mobility and convenience, much like how Uber operates in urban environments.
This dashboard shows operations by analysing maintenance, costs, bookings, and accidents, helping to identify areas for improvement and efficiency in MonCity's transportation services.
![The dashboard is published here.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F210e641c-73c4-4980-a0cd-fae2b70b49f1%2FDashboard.png%3Ftable%3Dblock%26id%3D509a9bd3-39b0-4755-8e87-3ff7af64ffd7%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3Dd0lWMP6SvRGFuTTWG4hz40QMAv2cXVPuw0sis2bwQF0?table=block&id=509a9bd3-39b0-4755-8e87-3ff7af64ffd7&cache=v2)
Overview:
- Solution - Requirements Analysis
- Data Design - Data Modelling
- Data Warehousing - ETL Process
- Data Analysis - Actionable Insights
2. Skills to demonstrate
As a part of my Power BI portfolio, I will implement Power BI for a case study to demonstrate competency, expertise in power BI reports, dashboards. The skills and technical knowledge applied are as below :
- Perform ETL using SQL and DAX programming.
- Access Data from Excel, SQL.
- Data Preparation (update and append table).
- Transform Data into Data Modeling and explore data by removing duplicates, adding conditional columns, unpivot-splitting columns, normalise-denormalising tables.
- Create custom tables, relationships, star or snow flakes schema Tables.
- Prepare data Visualization and reporting using Charts (bar, line, column, scatter, pie, donut, ribbon and waterflow ), table, matrix, KPI, slicers, map etc.
- Perform DAX measure calculation using sum, count, calculate, divide, time intelligence.
- Create Dynamic Measure, Dynamic Dimension, Tooltip, Bookmark in reporting.
Limitation
Our current setup, while efficient and robust, only uses the personal version of Power BI. By upgrading to an enterprise version, we can unlock capabilities:
- Publish, Share and collaborate dashboard, workspace, apps.
- Create alert, subscription in dashboard
- Set up enterprise gateway.
- Building Dashboard to highlight the report using Natural Language Query
3. On how to use the dashboard
3.1. Number of booking
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fdefcde02-91cc-4458-97a0-caaf51240dd1%2FV-Number-ofBooking.gif%3Ftable%3Dblock%26id%3D1b411d3f-c1f9-4732-bf2e-40fad6d74c9e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DvtJYi9Qv0-lFuKZ4AoIhEg5SkJnyfnIhmmE8Lh-YUU0?table=block&id=1b411d3f-c1f9-4732-bf2e-40fad6d74c9e&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F49adb53d-d903-45a9-8caf-4240b6123c43%2FV-Number-ofBooking-month.gif%3Ftable%3Dblock%26id%3Dd2306273-3aba-46e1-85b5-cff99c5d8084%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3Do0mnbiglwg86_E1FTKI9GPv7x-gFCad-hViZt7FFtZg?table=block&id=d2306273-3aba-46e1-85b5-cff99c5d8084&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fbc04a28d-6614-4f0d-9ff4-8ef8b334d3ef%2FF-Number-ofBooking.gif%3Ftable%3Dblock%26id%3D941ae592-5f66-4c5f-b2f9-d6da75274b6d%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DFUGP4xV-mHHpojjQNnlkfKU0Y3QiDE5zzY0jBuqdQIc?table=block&id=941ae592-5f66-4c5f-b2f9-d6da75274b6d&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fcd9ce50f-377b-4f87-954a-9a5507b11b58%2FF-Number-ofBooking-month.gif%3Ftable%3Dblock%26id%3De805f31f-bbe6-411a-af8a-9b1faac06e77%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DcJC3bP12YNfLx9g-V4fRybTC93rlm5WS9S6ZN_j17j0?table=block&id=e805f31f-bbe6-411a-af8a-9b1faac06e77&cache=v2)
4. On solution analysis
Step 1 : Requirements Analysis (4W1H)
Who needs to see the operational dashboard?
- Operational managers who oversee vehicle maintenance and fleet operations need to see the dashboard. This may also include financial managers, safety officers, and department heads from faculties like Engineering, Business, and, IT, who are concerned with the operational efficiency and safety of transportation services.
What does he/she want to see?
- They would want to see key performance indicators (KPIs) such as the number of maintenance records, the total maintenance costs, the distribution of costs by team and vehicle type, and accident statistics. These stakeholders might also be interested in the usage patterns by faculty and age group to inform scheduling and resource allocation.
Where do the people want to see the dashboard?
- The dashboard is likely to be accessed in an office environment for the operational staff, while faculty heads might access it from their departments. It could also be made available through an intranet or a secure online portal where these stakeholders can access it from anywhere, be it on-campus or remotely.
How does he/she want to see it?
- To have a 360-degree view of the operational performance, they prefer to see it by Team, Car Body Type, Maintenance Type, Season, Faculty, Age Group….
- I uses visualisation such as treemap, donut, pie charts, tables along with Tooltip and DAX Dynamic Measure to display key metrics. This enable them to easily visualize filter on-demand, drill down into and slice and dice the figure.
Step 2 : DW Design - Define schema into a Logical Model
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F422a4fb4-798b-4998-95ba-b09a35475de9%2FUntitled.png?table=block&id=86af88e9-e654-477b-bd7b-4e93370ae0dd&cache=v2)
Step 3: DW Design - Convert logical model to Physical Model in a business matrix
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F7db0224d-cade-4ad4-bdcf-fdcd3e010c80%2FUntitled.png?table=block&id=391f39d8-9073-4ac7-a600-8a96fbfd85d1&cache=v2)
Step 4 : ETL Process and Dashboard generation
- First, we used Oracle SQL to provide to raw data wrangling and exploration to first clean the data.
- Then, ETF process was performed to transform raw data to Fact and Dim tables.
- Finally, we used Power BI to create a dashboard to visualise some of the patterns and characteristics present in it. We used DAX measure calculation using sum and etc.
Step 5 : Analyse the dashboard and provide key insights
- To support business intelligence needs, part of my jobs is to design data warehouse based on business objectives and develop reports with insight of customer behaviour and help identify trends in business performance over time. As such, here makes four suggestion to our manager and other relevant stakeholders like Data / Business Analyst.
Suggestion 1: Marketing campaigns specifically for old-age adult group
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fcab6756a-9c59-4347-bfd2-be02999e468e%2FUntitled.png%3Ftable%3Dblock%26id%3D4f1b98e3-2159-4de3-8181-d6085a8344b6%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3Dk32HdKEtsjbdyHLNVNeo52wRcFG5VJnOM6BGEdsVqNg?table=block&id=4f1b98e3-2159-4de3-8181-d6085a8344b6&cache=v2)
As MonCity has an increasing trend on aging population and generally old-aged groups are in needs of a more convenient way of commute, we think that there is a demand for this group of people. This graph shows that the demographic of old-age adult group contributes the lowest number of booking across all faculty. To expand our customer base, we should target this clientele. Generally, offering discounts, having affiliated marketing, and email marketing campaign are the examples of marketing campaigns. This is to gain the awareness of our brand, and knowing that our service could help them Therefore, a part of the investment should go towards the marketing on old-aged group.
Suggestion 2: Buying more bus
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F599c5e31-8fb8-4307-8e61-b320833f449a%2FUntitled.png%3Ftable%3Dblock%26id%3D45479473-cf20-40e5-98ed-9bd01866323a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DNE6ua2z0WqZZlc2EHCXU76JHGY77-ViX3B1ciwyhL0w?table=block&id=45479473-cf20-40e5-98ed-9bd01866323a&cache=v2)
In expanding our business, we will need buy more cars, and this pivot table can give an insight to decide which should be bought. This figure shows that People Mover has higher maintenance cost but less seats (10), whereas Minibus has lower maintenance cost but more seats (20). From a pragmatic point of view, we want to buy cars that have less maintenance cost meanwhile containing more seats to take more passengers. Therefore, when deciding which types, we would not recommend buying more People mover because of high maintenance cost with the least number of seats. While the maintenance cost of bus is not as low as mini bus but but it can carry twice as much. We hence suggest that the further expenditure on buying cars should go towards buying bus.
Suggestion 3: New KPI should be made in tracking the performance of maintenance cost
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F9f51b1a1-50f4-498c-9982-bebc913a3668%2FUntitled.png%3Ftable%3Dblock%26id%3De0826259-ca41-4809-a386-a61a52e554e3%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DdmaAr9PuVA5UW3iNEBoN-PEJjUT3nLn-WoLDRNwITRE?table=block&id=e0826259-ca41-4809-a386-a61a52e554e3&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fbd2b5bb8-d163-4f15-9013-c5a200923410%2FUntitled.png%3Ftable%3Dblock%26id%3D385217e8-b000-41ad-8ee3-b8da378b33db%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DznUGcj5g1IbQMyaGSAJ4xF9RZ07MUhboevyJVcNmz34?table=block&id=385217e8-b000-41ad-8ee3-b8da378b33db&cache=v2)
With cumulative maintenance cost being 125,000, we should worry about the cost of maintenance. To reach a breakeven, we suggest that Data Analyst and other top management should work together and come up with a new KPI in tracking the cost. From the left chart, we found that M005 has contributed the most maintenance cost, therefore, such a KPI needs to take a greater account for M005, and find a way to minimise the type of maintenance.
Suggestion 4: Promotions on slack months or seasons
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F16487c81-33d4-4eaf-8042-8852045a28b0%2FUntitled.png%3Ftable%3Dblock%26id%3D5aeef62d-4aab-4374-914d-b9a8c59e6510%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DHnLT1lJ5aDKLCG99MoLpqHb7Ox5GSBfpTar-qAr2qY4?table=block&id=5aeef62d-4aab-4374-914d-b9a8c59e6510&cache=v2)
We suggest that there could be a promotion on a specific month or seasons. For example, February has the has lower number of booking maybe because that was the holiday. To boost the sales, we suggest the marketing team could investigate that further.
In conclusion, the above suggestions — including inflow and outflow of the investment — are based on the dashboard we made. For further analysis or a need to edit the dashboard, please feel free to contact our team.
Data Source
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F3cccbf21-0604-43af-b93b-f25175080cbe%2FUntitled.png%3Ftable%3Dblock%26id%3D94c6eb32-f310-4eae-8303-81679460ce5a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DQThyQCW4k2eNgadGxhGTkPyiKRmD29YrxwSrHr5Dd6Y?table=block&id=94c6eb32-f310-4eae-8303-81679460ce5a&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F60b613b2-10d7-491f-a659-e0b60a42df6d%2FUntitled.png%3Ftable%3Dblock%26id%3D2aeb40c0-137f-4c0f-b58d-d820b7b72d42%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DU4GtmKgdiDxeL8SuYeOoQgtkjqSlW9ITgx7W79F4VtE?table=block&id=2aeb40c0-137f-4c0f-b58d-d820b7b72d42&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F95b086b9-506e-47c0-84c2-03df09a8445e%2FUntitled.png%3Ftable%3Dblock%26id%3Db9f2ee17-891b-430e-a474-1ecb65c6109e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725847200000%26signature%3DdInULO6qfWsI-s5YQPbFvHutJpymxLMLWxr3ErkzUao?table=block&id=b9f2ee17-891b-430e-a474-1ecb65c6109e&cache=v2)
Additional information
Despite being fictional, MonCity is one of the largest smart cities in the world, and was developed for education and research purposes. In MonCity, there are four different zone areas (ZoneA, ZoneB, ZoneC, ZoneD). A wide range of self-driving cars is provided for Monash students and staff members to travel between different zone areas or within the same zone area.
MonCity has an existing operational database that maintains and stores all of the self-driving car-related information, such as the booking, maintenance, and accident records required for management's daily operation. However, in order to improve work efficiency, management at MonCity has decided to hire your team of data warehouse engineers to design and develop a data warehouse that can quickly generate reports based on their needs. Management at MonCity wants to generate reports to keep track of the bookings, accidents and maintenance information, such as calculating statistics of booking records and accident records, which can be used for self-driving car analyses later. For the accident details, they are particularly interested in the number of accidents per self-driving car (e.g., the number of accidents caused by Car01).
- Author:Jason Siu
- URL:https://jason-siu.com/article/power-bi-car
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts