BHEL Stock Performance Analysis in Power BI
Open BHEL Stock Dataset
🔹 Step 1: Load the Dataset
-
Open Power BI Desktop.
-
Go to
Home > Get Data > CSV/Excel
. -
Browse and select your BHEL_Stock dataset.
-
Click Load to bring the data into Power BI.
🔹 Step 2: Transform the Data
Click Transform Data
to open Power Query Editor.
✅ Key Transformations:
-
Change Date to
Date
type. -
Change Open, High, Low, Close, Adj Close, and Volume to appropriate numeric formats.
-
Remove any null or blank rows.
✅ Create new columns (M Query):
-
Daily Change (Close - Open)
= Table.AddColumn(#"Previous Step", "Daily Change", each [Close] - [Open])
-
Volatility (High - Low)
= Table.AddColumn(#"Previous Step", "Volatility", each [High] - [Low])
Click Close & Apply.
🔹 Step 3: DAX Measures in Modeling
-
Average Closing Price
Avg_Closing = AVERAGE('Bhel_Stock'[Close])
-
Maximum Volume
Max_Volume = MAX('Bhel_Stock'[Volume])
-
Total Volume
Total_Volume = SUM('Bhel_Stock'[Volume])
-
Daily Percent Change
Percent_Change = DIVIDE([Close] - [Open], [Open]) * 100
-
Extract Year
Year = YEAR('Bhel_Stock'[Date])
-
Extract Month
Month = FORMAT('Bhel_Stock'[Date], "MMMM")
Research Questions with Detailed Steps
RQ1: How has BHEL's stock price trended over time?
📊 Visual:
Line Chart
✅ Steps:
-
Go to Report View.
-
Insert a Line Chart.
-
Axis:
Date
-
Values:
Open
,Close
,Adj Close
-
Format the chart for:
-
Distinct colors per line
-
Data labels
-
Tooltip showing exact date and prices
-
-
Add slicers for:
-
Year (
Year
column) -
Month (
Month
column)
-
RQ2: Which months/years had the highest or lowest closing prices?
📊 Visual:
Bar Chart or Matrix
✅ Steps:
-
Insert a Clustered Column Chart.
-
Axis:
Month
orYear
-
Values:
Avg_Closing
(DAX) -
Add sorting: Highest to lowest
-
Use conditional formatting to highlight peak months/years.
RQ3: What is the daily volatility in BHEL stock?
📊 Visual:
Line Chart or Table
✅ Steps:
-
Insert a Line Chart.
-
Axis:
Date
-
Value:
Volatility
column (from M Query) -
Add conditional color gradient for visual flair.
-
Optional: Add tooltip with
High
andLow
values.
RQ4: How does trading volume vary across time?
📊 Visual:
Area Chart or Column Chart
✅ Steps:
-
Insert an Area Chart.
-
Axis:
Date
-
Value:
Volume
-
Add slicer for
Year
to allow filtering. -
Tooltip: Show
Volume
,Date
, andClose
RQ5: What is the relationship between opening and closing prices?
📊 Visual:
Scatter Chart
✅ Steps:
-
Insert a Scatter Chart.
-
X-axis:
Open
-
Y-axis:
Close
-
Details:
Date
-
Play Axis (Optional):
Year
orMonth
for animation. -
Tooltip: Add
Daily Change
andPercent_Change
RQ6: On which days did the stock price gain or fall significantly?
📊 Visual:
Table with Conditional Formatting or Bar Chart
✅ Steps:
-
Insert a Table visual.
-
Columns:
Date
,Open
,Close
,Daily Change
,Percent_Change
-
Apply conditional formatting:
-
Green for large gains
-
Red for large losses
-
-
Add slicers to filter by
Year
,Month
RQ7: What was the average daily percent change per month/year?
📊 Visual:
Bar Chart
✅ Steps:
-
Insert a Bar Chart.
-
Axis:
Month
(orYear
) -
Values: Create new measure:
Avg_Daily_Percent = AVERAGE('Bhel_Stock'[Percent_Change])
-
Add slicer:
Year
-
Sort by highest gain or loss
RQ8: Which months/years saw the highest trading volume?
📊 Visual:
Stacked Column Chart
✅ Steps:
-
Insert a Stacked Column Chart.
-
Axis:
Month
-
Legend:
Year
-
Values:
Volume
-
Use data labels to show totals
Interactive Dashboard Design
✅ Final Layout:
Section | Visuals |
---|---|
Price Trend | Line Chart (Open, Close, Adj Close) |
Volatility | Line or Table (High - Low) |
Volume Analysis | Area or Column Chart |
Performance Table | Table with %Change, Daily Change |
Slicers | Year, Month |
KPIs | Card Visuals: Max Volume, Avg Close, Total Volume |
Comparative Insights | Scatter Chart (Open vs Close) |
Monthwise Highlights | Column Chart with sorting |
Interactivity Tips:
-
Use slicers for
Year
,Month
to filter entire dashboard. -
Use drill-through to move from year → month → day level.
-
Add a reset button using bookmarks to revert filters.
-
Enable tooltips for charts for richer insights.
Export Options:
-
Use
File > Export > PDF
to generate static report. -
Use
Publish to Power BI Service
to share with colleagues. -
Use
Performance Analyzer
for optimizing visuals.
0 टिप्पण्या
कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏