Predicting the Future Crimes Against Children in India (2001–2012) Using Power BI
Open Crimes Against Children Dataset
Part 1: Data Preparation in Power BI
Step 1: Load the Dataset
-
Open Power BI Desktop.
-
Go to Home → Get Data → Excel.
-
Browse to your file:
Crimes_Against_Children_2001_2012.xlsx
. -
Select the relevant sheet.
🔄 Step 2: Transform the Data
The original structure: | State | Crime Head | 2001 | 2002 | ... | 2012 |
Steps:
-
Click Transform Data.
-
Select columns
2001
to2012
→ Right-click → Unpivot Columns. -
Rename:
-
Attribute
→Year
-
Value
→Cases
-
-
Set data types:
-
Year
→ Whole Number -
Cases
→ Whole Number
-
-
Click Close & Apply.
Final structure: | State | Crime Head | Year | Cases |
Part 2: Visualize Trends
Trend Analysis Charts to Create in Power BI:
Chart 1: Year-wise Trend (Line Chart)
-
Visual Type: Line Chart
-
Axis: Year
-
Values: Sum of
Cases
-
Legend (Optional):
Crime Head
Chart 2: State-wise Crime Summary (Bar Chart)
-
Visual Type: Bar Chart
-
Axis: State
-
Values: Sum of
Cases
-
Filters: Add slicer for
Year
orCrime Head
Chart 3: Crime Head Proportion (Donut/Bar Chart)
-
Axis: Crime Head
-
Values: Sum of
Cases
Part 5: Research Questions – Now with Detailed Steps
Trend Analysis Questions
Q1: What are the year-wise trends in crimes against children from 2001 to 2012?
➤ Steps:
-
Create a Line Chart:
-
X-axis:
Year
-
Y-axis: Sum of
Cases
-
-
Use slicer for
Crime Head
to see trends of each crime type individually.
Q2: Which states reported the highest number of such crimes?
➤ Steps:
-
Use a Stacked Column Chart or Bar Chart.
-
Axis:
State
-
Values: Sum of
Cases
-
Optional:
-
Add slicer for
Year
to view state-wise comparisons over time.
-
Q3: What are the most reported crime types?
➤ Steps:
-
Use a Donut Chart or Bar Chart.
-
Axis:
Crime Head
-
Values: Sum of
Cases
-
Optional:
-
Add slicer for
State
orYear
to narrow the analysis.
-
Forecasting & Predictive Research Questions
Now we move to forecasting in Power BI without Python, using its built-in Analytics features.
Q4: How will the trend of crimes against children evolve in the next 5 to 10 years?
➤ Steps:
-
Add a Line Chart:
-
X-axis:
Year
-
Y-axis: Sum of
Cases
-
-
Go to Analytics Pane (on the visual’s right)
-
Click + Forecast
-
Set:
-
Forecast length: 5 or 10 (years)
-
Confidence Interval: 95%
-
Seasonality: Auto
-
-
Click Apply
-
Result: Power BI draws dotted lines with a prediction band
Q5: Which crime heads are expected to rise more rapidly?
➤ Steps:
-
Use the same Line Chart as above
-
Add Legend →
Crime Head
-
Add Forecast again via Analytics pane
-
Use Crime Head slicer to compare projected increase by type
Q6: Are there specific states projected to experience alarming increases?
➤ Steps:
-
Create a new Line Chart
-
X-axis:
Year
-
Y-axis: Sum of
Cases
-
Legend:
State
-
-
Add Forecast via Analytics pane
-
Use slicers:
-
Filter
Crime Head
to view trends for specific crimes in each state
-
-
Analyze which states show steep upward trends in forecast lines
Q7: What is the expected annual growth rate of total crimes against children?
➤ Steps:
-
After applying forecast, observe:
-
Predicted values for each future year
-
-
Create a Table or Card to show:
-
Predicted value in 2012 (last known year)
-
Predicted value in 2022
-
-
Use a DAX Measure:
CAGR = (([Value in 2022] / [Value in 2012]) ^ (1 / 10)) - 1
(If needed, replace hardcoded values with actual ones from your forecast table)
Q8: Can interventions be proposed based on forecasted hot-spots?
➤ Steps:
-
Create Map Visuals:
-
Use
State
as Location -
Use forecasted
Cases
as Size/Color
-
-
Use filters for:
-
Top 5 states by forecasted increase
-
Top 5 crime heads
-
-
Show trend lines for these states in individual visuals
-
Based on charts, suggest policies:
-
State-specific interventions
-
Campaigns against specific crimes (e.g., sexual assault, kidnapping)
-
Final Part: Dashboard
🧩 Include:
-
Year-wise line chart with forecast
-
State and crime-wise breakdowns
-
Top 5 predicted crime heads
-
Geo-maps of forecasted hotspots
📌 Summary for readers:
-
Which crimes are growing fast
-
Where (states/cities) we need attention
-
Forecasted numbers and policy suggestions
0 टिप्पण्या
कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏