Power BI DAX Measures Explained – Build Business KPIs Step by Step (Tamil)
இந்த video-ல visuals, charts, dashboard design எதுவும் இல்லை. Focus முழுக்க 👉 business KPIs correct-ஆ DAX use பண்ணி build பண்ணுறது.
இந்த measures எல்லாமே later visuals-க்கு foundation. Foundation weak இருந்தா dashboard எவ்வளோ அழகா இருந்தாலும் business use ஆகாது.
🧱 First Step – Measure Table Create பண்ணுவது
Measures create பண்ணுறதுக்கு முன்னாடி, organisation important 🧠
Power BI-ல Enter Data click பண்ணி
👉 “All Measures” மாதிரி ஒரு table create பண்ணிக்கலாம்
இதுக்குள்ள தான் எல்லா new measures-யும் create பண்ணுவோம்.
Later stage-ல measures search பண்ண, maintain பண்ண ரொம்ப easy ஆகும் 👍
💰 Total Sales – Column இல்லை, Measure தான்
Sales amount column already fact table-ல இருக்கு.
ஆனா business requirement 👉 Total Sales.
Order-level column use பண்ணக் கூடாது ❌
Direct-a measure create பண்ணணும் ✅
Reason 👇
🧠 Measure query time-ல calculate ஆகும்
🧠 Slicers automatically affect ஆகும்
🧠 Dynamic results கிடைக்கும்
Date slicer change பண்ணினா
👉 Total Sales value instant-ஆ change ஆகும்
இதுதான் measure power 💡
📦 Total Orders – Simple Count போதாது
Order ID repeat ஆகும்.
So COUNT(OrderID) use பண்ணினா wrong result வரும்.
Correct logic 👉
👉 Distinct Count of Order ID
இதுதான் real business definition of Total Orders.
🔢 Total Quantity
Quantity column already fact table-ல இருக்கு.
👉 SUM of Quantity
👉 Measure-ஆ create பண்ணுறோம்
Simple-ஆ இருந்தாலும், column-ஆ use பண்ணாதீங்க — measure-ஆ தான்.
📊 Average Order Value (AOV)
AOV business-ல ரொம்ப important KPI.
Logic simple:
Total Sales ÷ Total Orders
But best practices important 👇
👉 Already created measures reuse பண்ணணும்
👉 Again SUM write பண்ணக்கூடாது
👉 DIVIDE() function use பண்ணணும்
👉 / operator avoid பண்ணுவது safer
இதனால் error handling automatically நடக்கும்.
📆 Last Month Sales – Smart Time Intelligence
Last Month Sales calculate பண்ண:
👉 Total Sales measure reuse
👉 Date table-ல Previous Month logic apply
Advantage 👇
• User slicer-ல எந்த month select பண்ணினாலும்
• Last month value automatically calculate ஆகும்
Manual date logic தேவையே இல்லை.
📈 Year-over-Year (YoY) Sales
YoY analysis business teams-க்கு must.
Approach:
👉 Current period base-ஆ
👉 Same Period Last Year dates fetch பண்ணுறோம்
👉 Total Sales measure reuse
Clean, readable, scalable logic.
📉 YoY Growth %
Growth % calculate பண்ண:
👉 Current Year Sales
👉 Last Year Sales
Two values use பண்ணுறோம், so
👉 Variables use பண்ணுறோம்
Benefits:
• Code clean
• Easy maintenance
• Easy debugging
Final output percentage format-ல show பண்ணலாம்.
👥 Total Customers
Customer dimension table-ல
👉 Distinct Count of Customer ID
Straightforward KPI, but always as a measure.
🔁 Returning Customers – Real Business Insight
Returning customers identify பண்ண:
👉 Virtual table concept use பண்ணுறோம்
Logic:
• Customer ID
• Distinct Order Count
• Orders > 1
This KPI helps business understand loyalty & repeat purchase behaviour.
🎨 Measure Formatting – Don’t Ignore This
Correct format இல்லன்னா:
❌ Numbers confusing-ஆ இருக்கும்
❌ Business users trust பண்ண மாட்டாங்க
Currency, decimal places, percentage
👉 Measure view-ல proper-ஆ format பண்ணணும்.
✅ Validation – SQL vs Power BI (Must-Do Step)
Measures create பண்ணினதும், next important step 👉 sanity check.
SQL-ல:
• Month-wise totals
• Year-wise totals
Power BI-ல:
• Same totals using measures
👉 Both match ஆனா தான் next step-க்கு move பண்ணணும்
👉 Mismatch இருந்தா first fix, then proceed
This step skip பண்ணினா later stage-ல big trouble வரும்.
🧠 DAX Best Practices – Remember This
👉 Measures over calculated columns
👉 Reuse measures, don’t rewrite logic
👉 Avoid hard-coded values
👉 KPI-reflective naming use பண்ணணும்
👉 Simple DAX = Easy maintenance
🚫 What We Didn’t Do Yet
இந்த stage-ல:
❌ Visuals build பண்ணல
❌ Dashboard design start பண்ணல
❌ Advanced time intelligence cover பண்ணல
Reason 👉
Correct KPIs first.
Visuals later.
🎯 What’s Next?
Next step-ல,
👉 இந்த same measures use பண்ணி
👉 Business questions answer பண்ணும் visuals & dashboard build பண்ணப்போறோம்.
▶️ Want to Learn This Step-by-Step with Demo?
இந்த blog-ல concepts explain பண்ணியிருக்கேன்.
ஆனா actual DAX writing, live demo, validation process எல்லாம் full-ஆ understand பண்ணணும்னா, video-வை watch பண்ணுவது best.
👉 Watch the complete video to see these KPIs built step-by-step in Power BI with real data and live explanation.
.png)
கருத்துரையிடுக
0 கருத்துகள்