-
Notifications
You must be signed in to change notification settings - Fork 323
## [FEATURE] Add Power BI Supply Chain Dashboard to DataScience Folder #1791 Open #1794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
## [FEATURE] Add Power BI Supply Chain Dashboard to DataScience Folder #1791 Open #1794
Conversation
WalkthroughAdds a README describing a Supply Chain and Inventory Management Dashboard with two pages, listed visualizations, usage guidance, insights, tools/features, and a conclusion. No code, models, or exports changed. Changes
Sequence Diagram(s)Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Assessment against linked issues
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ PR validation passed! Syncing labels and assignees from the linked issue... |
|
👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly! Feel free to join our community on Discord to discuss more! |
|
✅ PR validation passed! Syncing labels and assignees from the linked issue... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (8)
Data_Science/supply chain/README.md (8)
10-18: Fix Markdown list indentation (MD007) and nesting under “Visualizations” and “Purpose”Current list uses extra leading spaces; markdownlint flags MD007. Unindent top-level bullets and keep child bullets at two spaces.
Apply:
- - **Visualizations**: - - **Stock Levels by Category**: Bar chart displaying average stock levels across different categories such as Electronics, Food, Furniture, Clothing, and Tools. - - **Shortage Risk Breakdown**: Donut chart indicating the proportion of items at high and low shortage risks. - - **Inventory Turnover Rate**: Gauge showing the inventory turnover rate, with a comparison to the minimum, maximum, and target turnover values. - - **Top 5 Suppliers by Delivery Performance**: Horizontal bar chart ranking suppliers based on their average delivery time. - - **Shortage of Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers. - - **Purpose**: - - Provide an overview of inventory and supplier performance. - - Highlight potential risks in supply and stock levels. +- **Visualizations**: + - **Stock Levels by Category**: Bar chart displaying average stock levels across categories (e.g., Electronics, Food, Furniture, Clothing, Tools). + - **Shortage Risk Breakdown**: Donut chart indicating the proportion of items at high and low shortage risks. + - **Inventory Turnover Rate**: Gauge showing the inventory turnover rate, with a comparison to minimum, maximum, and target values. + - **Top 5 Suppliers by Delivery Performance**: Horizontal bar chart ranking suppliers by average delivery time. + - **Shortage Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across suppliers. +- **Purpose**: + - Provide an overview of inventory and supplier performance. + - Highlight potential risks in supply and stock levels.
21-29: Apply the same indentation fix for Page 2 bulletsMirror the MD007-compliant structure for the second page’s “Visualizations” and “Purpose”.
Apply:
- - **Visualizations**: - - **Forecasted Monthly Demand**: Line chart with forecasting enabled to project future stock requirements based on historical demand. - - **Days of Inventory on Hand (DOH) Breakdown**: Pie chart summarizing DOH for each category. - - **Stock Availability Heatmap**: Matrix heatmap showing the stock availability across suppliers and categories. - - **Delivery Time Analysis by Category**: 100% stacked bar chart comparing delivery times across suppliers for each category. - - **Top 5 High-Risk Items**: Table displaying items with high shortage risk, along with their stock levels and reorder levels. - - **Purpose**: - - Predict future demand and ensure proactive stock replenishment. - - Highlight high-risk items and optimize supplier selection. +- **Visualizations**: + - **Forecasted Monthly Demand**: Line chart with forecasting to project future stock requirements from historical demand. + - **Days of Inventory on Hand (DOH) Breakdown**: Pie chart summarizing DOH per category. + - **Stock Availability Heatmap**: Matrix heatmap showing stock availability across suppliers and categories. + - **Delivery Time Analysis by Category**: 100% stacked bar comparing delivery times across suppliers for each category. + - **Top 5 High-Risk Items**: Table listing items with high shortage risk, with stock and reorder levels. +- **Purpose**: + - Predict future demand and ensure proactive stock replenishment. + - Highlight high-risk items and optimize supplier selection.
15-15: Typo: “Shortage of Risk …” → “Shortage Risk …”Minor wording fix to match the feature list and avoid confusion.
- - **Shortage of Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers. + - **Shortage Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers.
31-39: Numbered steps’ sub-bullets: normalize nesting under 1/2/3Indent sub-bullets by two spaces for consistency.
-1. **Interactive Filters**: - - Located on the Operational Insights page, use filters for categories, suppliers, and shortage risks to refine the data displayed across visualizations. -2. **Analyze Trends**: - - Use the forecasted demand line chart to predict future stock needs. - - Identify patterns in delivery times and supplier performance. -3. **Focus on Risks**: - - Monitor shortage risks through the pie chart and high-risk item table. - - Investigate categories or suppliers with low stock levels or high risks. +1. **Interactive Filters**: + - Use filters (categories, suppliers, shortage risks) on the Operational Insights page to refine all visuals. +2. **Analyze Trends**: + - Use the forecasted demand line chart to anticipate stock needs. + - Identify patterns in delivery times and supplier performance. +3. **Focus on Risks**: + - Monitor shortage risks via the pie chart and high-risk items table. + - Investigate categories or suppliers with low stock or high risk.
50-58: Add reproducibility details: Power BI Desktop version, data refresh steps, and DAX measures referenceDocument the PBIX build/test environment and data setup so others can open and refresh without guesswork. Optionally include a Measures section with key DAX definitions (Turnover, DOH, Risk).
Proposed section to append before “Conclusion”:
## Compatibility and Setup - Tested with Power BI Desktop: 2.1xx.y (Month YYYY). Please confirm the exact version used. - Opening the PBIX: File > Options and settings > Data source settings > Update sample data paths if prompted. - Refresh: Home > Transform data > Data source settings > Edit Permissions (if required), then Home > Refresh. ## Measures (DAX) Overview - Inventory Turnover = DIVIDE([COGS], [Average Inventory]) - DOH = DIVIDE([Ending Inventory], [Average Daily COGS]) - Shortage Risk = IF([Stock] <= [Reorder Level], "High", "Low") (Link to a full measures list or include as an appendix.)
41-49: Clarify data provenance and licensing for sample dataIf sample data is included, state its source, license, and whether it’s anonymized/synthetic. This avoids downstream compliance issues.
I can draft a short “Data and Licensing” section once you confirm the dataset source and license (e.g., CC BY 4.0, MIT-licensed synthetic).
7-30: Embed screenshots with relative linksSince screenshots are mentioned in the PR, link them here so users see previews on GitHub.
Example:
## Screenshots  Adjust paths/filenames to match the repo.
62-64: Remove trailing horizontal rule and extra blank linesTidies the end of the document.
---- - -
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (3)
Data_Science/supply chain/Dashboard1.pngis excluded by!**/*.pngData_Science/supply chain/Dashboard2.pngis excluded by!**/*.pngData_Science/supply chain/Supply_Chain_Inventory_Management_Data.xlsxis excluded by!**/*.xlsx
📒 Files selected for processing (1)
Data_Science/supply chain/README.md(1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
Data_Science/supply chain/README.md
10-10: Unordered list indentation
Expected: 0; Actual: 3
(MD007, ul-indent)
11-11: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
12-12: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
13-13: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
14-14: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
15-15: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
16-16: Unordered list indentation
Expected: 0; Actual: 3
(MD007, ul-indent)
17-17: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
18-18: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
21-21: Unordered list indentation
Expected: 0; Actual: 3
(MD007, ul-indent)
22-22: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
23-23: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
24-24: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
25-25: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
26-26: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
27-27: Unordered list indentation
Expected: 0; Actual: 3
(MD007, ul-indent)
28-28: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 2; Actual: 5
(MD007, ul-indent)
|
|
||
| # Supply Chain and Inventory Management Dashboard | ||
|
|
||
| ## Overview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Folder path/name deviates from PR objective and likely repo conventions
PR/issue say “datascience/Supply-Chain-Inventory-Dashboard”, but this file is at “Data_Science/supply chain/…”. Spaces, underscores, and case changes will break links and automation. Align folder and name.
Run to locate assets and confirm final layout; if mismatched, perform git mv:
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "Current README path(s):"
fd -n --full-path -i 'README.md' | sed 's/^/ - /'
echo "PBIX files:"
fd -n -e pbix | sed 's/^/ - /'
echo "Screenshots:"
fd -n -e png -e jpg -e jpeg -E 'node_modules' | sed 's/^/ - /'
# Suggested target
TARGET_DIR="datascience/Supply-Chain-Inventory-Dashboard"
echo "Proposed target dir: $TARGET_DIR"Length of output: 254
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "Current README path(s):"
fd -i README.md | sed 's/^/ - /'
echo "PBIX files:"
fd -e pbix | sed 's/^/ - /'
echo "Screenshots:"
fd -e png -e jpg -e jpeg -E node_modules | sed 's/^/ - /'
TARGET_DIR="datascience/Supply-Chain-Inventory-Dashboard"
echo "Proposed target dir: $TARGET_DIR"Length of output: 277364
Rename “Data_Science/supply chain” folder to “datascience/Supply-Chain-Inventory-Dashboard”
🤖 Prompt for AI Agents
In Data_Science/supply chain/README.md lines 1 to 4, rename the repository
folder path from "Data_Science/supply chain" to
"datascience/Supply-Chain-Inventory-Dashboard": move or rename the directory to
the new canonical path, update casing and hyphens as specified, and adjust any
internal relative links or references (including README headers and any
CI/config paths) that point to the old folder so they now reference the new
directory name.
Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.
Issue Title
Please enter the title of the issue related to your pull request.
Add Power BI Supply Chain Dashboard to DataScience Folder
Info about the Related Issue
What's the goal of the project?
The project aims to add a comprehensive Power BI Supply Chain and Inventory Management Dashboard to the
datasciencefolder. This dashboard analyzes stock levels, supplier performance, shortage risks, and operational efficiency for data-driven decision-making.Name
Please mention your name.
Abinayagoud Jandhyala
GitHub ID
Please mention your GitHub ID.
https://github.com/abinayagoudjandhyala
Email ID
Please mention your email ID for further communication.
[email protected]
Identify Yourself
Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
GSSOC 2025
Closes
Enter the issue number that will be closed through this PR.
Closes: #1791
Describe the Add-ons or Changes You've Made
Give a clear description of what you have added or modified.
datascience/Supply-Chain-Inventory-Dashboard.pbixPower BI dashboard file, README with usage instructions, dashboard screenshots, and optional sample dataType of Change
Select the type of change:
How Has This Been Tested?
Describe how your changes have been tested.
.pbixPower BI file opens successfully and the dashboard renders all visuals correctly without errorsChecklist
Please confirm the following:
Summary by CodeRabbit