techcadd Mohali

SQL and Power BI Project for Students: Why Dashboard Totals Differ

techcadd Team25 November 20262 min read

A strong SQL and Power BI project begins with a number you can check. Use a small sales dataset, calculate net sales in SQL, and show the same measure in Power BI. When the figures differ, document the first step where the results diverge. That investigation gives you something specific to demonstrate during a data analytics internship viva.

## Start with four records

Create three sales lines for ₹1,000, ₹600 and ₹400. Record a ₹200 partial return against the first line. For this exercise, define net sales as gross sales less approved returns, with no tax or shipping adjustments. The expected gross total is ₹2,000 and the expected net total is ₹1,800. Label your data as synthetic and write down the definition alongside the figures.

## Choose what each row represents

Give each sales line its own identifier. Store returns separately, because a single sales line can have more than one return. To test that situation, replace the ₹200 return with two returns of ₹120 and ₹80. The expected net figure stays at ₹1,800. If your join counts the ₹1,000 sale twice, your revised dataset has exposed an error that the first dataset concealed.

Aggregate approved returns by sales-line identifier before joining them to the sales lines. Check the resulting row count and total in SQL. In Power BI, use the same date range and return status. Test the grand total, then filter to one sale and follow that record from source to visual.

## A second test for month-end

Move a return into the following month. Should it reduce sales in the original sale month or the month when the return was approved? Either definition can answer a legitimate question. Choose one, label it clearly and demonstrate how the other definition changes the monthly figures. A difference that follows an agreed definition is an explanation, not a calculation bug.

## Package the project for a review

Include a data dictionary, the SQL file, a small dashboard and a one-page reconciliation. List the expected and actual totals for each test. A reviewer should be able to spot the double-counting case without opening your presentation. Students comparing data analytics internships in Mohali can ask whether project reviews cover calculations as well as visual design.

## Student questions

**Can I use Excel as my data source?** Yes. A small workbook is enough if you document the column types and show how the same rows reach both tools.

**How many visuals do I need?** Start with a net-sales card, a monthly view and a detail table. Add charts only when they answer a separate question.

**What should I show in my viva?** Change one return amount, predict the total and refresh the report. Explain each step if the result differs from your prediction.

Explore [data analytics training at techcadd Mohali](https://techcaddmohali.com/6-month-internship-in-data-analytics-in-mohali).

SQLPower BI

Want this mapped to your own background and goals?

Talk to a counsellor

Comments

No comments yet — yours would be the first.

Leave a comment

Read before publishing. Your email is never shown.

Ready to get started?

Start building your career today.

Talk to a counsellor today. One call is usually enough to know which track fits your degree, your schedule and the job you want.

Call now+91 98881 22442
  • Free career counselling
  • No registration fee
  • Placement support included
InternshipJoinViewServicesTraining Matcher