Tableau ও Power BI পরিচিতি
এই পাঠে যা শিখবেন
- Tableau Public/Desktop/Server-এর পার্থক্য
- Power BI Desktop/Service/Premium-এর পার্থক্য
- Bangladesh job market context — কোনটা শিখলে কোথায় কাজ পাবেন
- Decision criteria — কোম্পানি কোন tool বাছবে
১ · BI tool কী, কেন
Business Intelligence (BI)Business Intelligenceব্যবসায়িক data থেকে insight বের করার technology ও process। Dashboard, report, ad-hoc analysis — সব এর অন্তর্ভুক্ত। SAP, Oracle থেকে শুরু — আজ Tableau, Power BI dominant। tool — ব্যবসায়িক data থেকে insight pull করার purpose-built software। Python/Streamlit একজন developer-এর জন্য, BI tool একজন business analyst-এর জন্য — drag-drop UI, SQL-without-knowing-SQL, scheduled refresh।
Bangladesh-এ একসময় Excel একচ্ছত্র ছিল। গত ৫ বছরে BI tool-এর adoption দ্রুত বেড়েছে — বিশেষত banking (BRAC Bank, City Bank), telecom (Grameenphone, Robi), e-commerce (Daraz, Pickaboo), MFS (bKash, Nagad)।
১) Data connection: Excel, CSV, SQL, cloud DB, API।
২) Modeling: table join, calculated field, hierarchy।
৩) Visualization: drag-drop chart, conditional formatting।
৪) Sharing: publish dashboard, schedule refresh, security।
২ · Tableau — পরিচয়
Tableau ২০০৩-এ Stanford-এর তিন গবেষক — Chris Stolte, Pat Hanrahan, Christian Chabot। ২০১৯-এ Salesforce $১৫.৭ বিলিয়নে কিনেছে। বিশ্বব্যাপী premium analyst-দের choice।
Tableau-র product line:
- Tableau Public: ফ্রি — কিন্তু dashboard public Tableau Public profile-এ। Portfolio building-এ চমৎকার।
- Tableau Desktop: $৭০/মাস। সব feature, local file। সবচেয়ে popular।
- Tableau Server: on-premise enterprise — large org।
- Tableau Cloud (Online): SaaS version।
- Tableau Prep: data preparation tool — ETL।
Tableau-র শক্তি:
- Visualization aesthetics — default-ই গ্রহণযোগ্য সুন্দর।
- Speed of authoring — drag-drop fluent।
- Geographic visualization — built-in map অসাধারণ।
- "Show Me" panel — ভাল chart-type recommend।
- Story feature — multi-page narrative।
৩ · Power BI — পরিচয়
Microsoft Power BI ২০১৩-তে release হয়। Microsoft Office ও Azure ecosystem-এর সাথে deep integration। ২০২০-এর পর থেকে Tableau-কে market share-এ অতিক্রম করেছে — বিশেষত mid-market ও SMB।
Power BI-এর product line:
- Power BI Desktop: ফ্রি — Windows-এ। সম্পূর্ণ authoring tool।
- Power BI Service: cloud sharing — Pro license $১০/user/মাস।
- Power BI Premium: $২০/user/মাস or capacity-based ($৪,৯৯৫/মাস)।
- Power BI Mobile: iOS/Android।
- Power BI Embedded: custom app-এ embed।
Power BI-এর শক্তি:
- Excel integration — pivot table → Power BI seamless।
- DAX language — strong calculation engine।
- Office365 + Teams + SharePoint native।
- Azure Data Lake, Synapse-এর সাথে seamless।
- Cost — Tableau-র চেয়ে অনেক সস্তা।
৪ · Bangladesh-এর job market reality
২০২৫-এ LinkedIn ও bdjobs.com-এ search করুন: "Power BI" → ৪০০+ job, "Tableau" → ১২০। Power BI-এর adoption ৩x বেশি। কারণ:
- Microsoft Bangladesh-এর strong presence — government IT contract।
- Office365 প্রায় সব corporate-এ ইতিমধ্যে আছে — incremental cost কম।
- Tableau license বছরে ১+ লাখ টাকা — cost-conscious BD employer-এ চ্যালেঞ্জ।
- Pakistan ও India-র Power BI talent-এর সাথে compete।
কোম্পানি-ভিত্তিক pattern:
- Power BI: BRAC Bank, City Bank, Standard Chartered, Grameenphone, Robi, bKash, Nagad, Daraz, Pathao (analytics team), MIB, Government projects।
- Tableau: BJIT (international clients), Brain Station 23 (selectively), Therap BD, MDH (ad agency), select multinationals।
- Both: বড় BFSI ও multinational — team-অনুযায়ী আলাদা।
৫ · Tableau workflow — একটি basic dashboard
- Connect: Excel/CSV/SQL select।
- Data Source tab: table relation define।
- Sheet tab: dimension (category) ও measure (number) drag।
- Marks card: color, size, label customize।
- Filters shelf: region, date filter।
- Calculated field: "Profit Margin = (Profit/Sales)*100"।
- Dashboard tab: multiple sheets combine।
- Story: dashboard sequence narrative।
- Publish: Tableau Public/Server।
৬ · Power BI workflow
- Get Data: Excel/CSV/SQL/ Azure।
- Power Query: data transformation (Excel-এর Power Query-এর মতো)।
- Model view: table relationship।
- Report view: visualization drag-drop।
- DAX measures: "Total Sales = SUM(Sales[Amount])"।
- Slicers: filter widget।
- Bookmarks: view state save।
- Publish: Power BI Service-এ।
- Schedule refresh: daily/hourly auto-update।
৭ · DAX vs Tableau Calculations
দু'টোরই নিজস্ব formula language আছে — Excel-এর চেয়ে strong।
DAX (Power BI):
// Total sales
Total Sales = SUM(Sales[Amount])
// Year-over-year growth
YoY Growth =
DIVIDE(
[Total Sales] - CALCULATE([Total Sales], SAMEPERIODLASTYEAR(Date[Date])),
CALCULATE([Total Sales], SAMEPERIODLASTYEAR(Date[Date]))
)
Tableau Calculations:
// Total sales
SUM([Sales])
// YoY Growth (Table calc)
(SUM([Sales]) - LOOKUP(SUM([Sales]), -1)) / LOOKUP(SUM([Sales]), -1)
DAX more powerful for complex business logic; Tableau calc more intuitive for visual context. Mastery দু'টোরই যথেষ্ট সময় লাগে।
৮ · Code-tool integration
Modern data team-এ pure Power BI/Tableau বিরল। সাধারণ flow:
SQL warehouse (Snowflake/BigQuery)
↓ scheduled refresh
Power BI / Tableau dashboard
↓ embed
Streamlit app / company portal
- Python-এ heavy ETL — pandas, dbt।
- Power BI Python integration — chart-এ Python script।
- Tableau Python (TabPy) — predictive analytics।
- Tableau ও Power BI দু'টিই R-ও support করে।
৯ · Learning resources
- Tableau: Tableau Public-এ ফ্রি account, "Makeover Monday" community challenge।
- Power BI: Microsoft Learn ফ্রি — PL-300 certification।
- YouTube: Guy in a Cube (Power BI), Andy Kriebel (Tableau)।
- Books: "The Big Book of Dashboards" (Wexler) — both tools।
- Local: bKash & City Bank-এর internal Power BI training program।
ভাবনার প্রশ্ন
প্র ০১ আপনি একটি বাংলাদেশী bank-এর head of analytics। ৫০ জন analyst ও ৫,০০০ business user। Tableau বনাম Power BI বাছাই কীভাবে?
এটি real procurement decision — million dollar implication।
Cost analysis:
- Tableau: ৫০ creator × $৭০/mo + ৫,০০০ viewer × $১৫/mo = ~$৭৮,৫০০/mo = $৯.৪ লাখ/বছর।
- Power BI Pro: ৫,০০০ × $১০/mo = ~$৬ লাখ/বছর।
- Power BI Premium Capacity: ৪-৮ × $৫,০০০/mo = $২.৪-৪.৮ লাখ/বছর + free viewer।
- Tableau ~$৩-৫ লাখ বেশি বছরে।
Existing infrastructure:
- Bank সাধারণত Microsoft shop — Office365, Active Directory, Azure।
- Power BI integration — single sign-on, Teams embed।
- Tableau আলাদা environment — IT additional support।
Talent availability:
- Bangladesh-এ Power BI talent ৩x বেশি।
- Hiring & retention সহজ।
- Tableau senior — premium pay।
Regulatory & data residency:
- Bangladesh Bank guidelines — sensitive data on-premise।
- Tableau Server: Linux/Windows on-premise — supported।
- Power BI Premium-এ data on-premise option (Premium Capacity)।
- দু'টোতেই possible — কিন্তু Power BI Premium Capacity-র setup easier।
Use cases:
- Branch performance dashboard — both tools fine।
- Customer 360 — DAX powerful, Tableau-র Story বেশি।
- Regulatory reporting — DAX-এর precision better।
- Marketing analytics — Tableau-র aesthetics better।
Recommendation: Power BI primary, Tableau supplementary:
- Power BI primary deployment — সব business user।
- Tableau ২-৩ Desktop license — analytics team-এর creative needs।
- Migration plan — যদি Tableau ইতিমধ্যে থাকে, ১৮-২৪ months phased move।
- Hybrid period: side-by-side, gradually retire Tableau।
Counter-argument — কখন Tableau primary:
- International HQ-এর mandate (e.g., Standard Chartered global Tableau)।
- Existing $20M Tableau investment — sunk cost।
- Brand/marketing-heavy use case dominant।
- Mac-only data team।
Implementation roadmap:
- Month 1-2: Power BI Premium Capacity setup, IT integration।
- Month 2-4: ১০ pilot dashboard build, top business users train।
- Month 4-6: Roll out 100 dashboard, training program।
- Month 6-12: Self-service enablement, governance framework।
- Year 2: Tableau-only use case identify ও migrate।
Risk mitigation:
- Pilot data marts — production-এ যাওয়ার আগে।
- Dashboard certification process — quality control।
- Audit log monitor — sensitive data access।
- DR plan — Power BI service downtime।
মূল উপলব্ধি: ROI calculation cost-only না — talent, ecosystem, future-proofing সব মিলে। Bangladesh banking-এ Power BI default rational choice; exception need explicit justification।
প্র ০২ "BI tool শিখলে Python-এর প্রয়োজন কম" — এই দাবি সত্য? কোন situation-এ Python অপরিহার্য?
Career path-এর critical question — myth ও reality আলাদা।
BI tool যেখানে যথেষ্ট:
- Standard reporting: sales, finance, operations dashboard।
- Slice-and-dice analysis: filter, drill-down, pivot।
- Calculated metrics: KPI, YoY growth, ratio।
- Scheduled refresh: nightly data update।
- Geographic visualization: map dashboard।
BI tool-এর সীমাবদ্ধতা:
(১) Custom data transformation:
- Power Query/Tableau Prep — limited reach।
- Complex JSON parsing, regex extraction — Python pandas easier।
- Multi-table fuzzy join — BI tool struggle।
(২) Statistical modeling:
- Linear regression — built-in BI।
- Random Forest, XGBoost, neural net — Python অপরিহার্য।
- Time-series forecasting beyond Prophet — Python।
(৩) NLP & unstructured:
- Customer review sentiment — Python (transformers)।
- Text classification — pandas + scikit-learn।
- BI tool কেবল aggregated text count।
(৪) Custom visualization:
- Sankey diagram — Tableau-এ workaround।
- Network graph — Python-এ networkx।
- Animation timeline — D3.js বা Plotly।
(৫) Automation & scripting:
- Email alerts on threshold — Python script + cron।
- Multi-source data combine — pandas।
- Web scraping — BeautifulSoup, Selenium।
(৬) Integration with ML pipelines:
- Model training — Python sklearn, TensorFlow।
- Real-time inference API — FastAPI।
- BI tool dashboard শুধু output show করে।
Real-world team structure:
- Data Analyst: ৭০% BI tool, ৩০% Python। Insights ও dashboard।
- Data Scientist: ১০% BI, ৯০% Python/SQL। Modeling, A/B test।
- Data Engineer: ০% BI, ১০০% Python/SQL/Spark। Pipeline।
- BI Developer: ৯০% BI tool, ১০% SQL। Specialized।
Career trajectory:
- BI-only path: BI Developer → Senior → BI Manager। Salary cap কিছুটা।
- Python+BI path: Data Analyst → Data Scientist → Lead। উপরের ceiling।
- Hybrid most valuable — communication + modeling।
Bangladesh-এ market reality:
- Junior BI role — TK 30-50K (Power BI / Tableau)।
- Senior BI — TK 80K-1.2L।
- Senior Data Scientist (Python+ML) — TK 1.5-3L।
- Both skills — premium remote international rates ($30-100/hour)।
Recommendation:
- Year 1: SQL master, Power BI/Tableau professional।
- Year 2: Python + pandas + scikit-learn add।
- Year 3: Cloud (Azure/AWS) + ML add।
- "BI tool only" — short-term comfort, long-term ceiling।
মূল উপলব্ধি: BI tool ≠ Python replacement, complementary skill। Future-proof career-এর জন্য দু'টোই অপরিহার্য।
প্র ০৩ Power BI dashboard-এ "DAX measure incorrect" — common pitfall কী কী? Filter context bug কীভাবে debug?
DAX-এর filter context — সবচেয়ে কঠিন এবং powerful concept। এটাই DAX mastery-র threshold।
Filter context কী:
- প্রতিটি cell-এ একটি filter context থাকে — visual-এর axis, slicer, page filter সব মিলে।
- Measure সেই context-এ evaluated।
- "Total Sales" — পুরো table-এর sum না, current cell-এর filter-এ sum।
Common pitfalls:
(১) SUM vs SUMX confusion:
// ভুল — পুরো sales-এর sum, line-by-line না
Bad Total = SUM(Sales[Quantity]) * SUM(Sales[Price])
// সঠিক — row-by-row evaluate
Good Total = SUMX(Sales, Sales[Quantity] * Sales[Price])
(২) ALL() ভুল ব্যবহার:
// "% of total" calculation
% Share = DIVIDE(
[Total Sales],
CALCULATE([Total Sales], ALL(Product))
)
// ALL(Product) — Product filter বাদ; অন্য filter (date) থাকে।
// ALL(Sales) লিখলে — সব filter বাদ, ভুল ফলাফল।
(৩) RELATED vs RELATEDTABLE:
- RELATED — many-to-one relationship-এ single value।
- RELATEDTABLE — one-to-many side-এ table return।
- উল্টো ব্যবহার = error।
(৪) Time intelligence ছাড়া Date table:
- SAMEPERIODLASTYEAR — proper Date table দরকার।
- Sales table-এর date column-এ direct বললে — ভুল।
- Solution: Date dimension table তৈরি, mark as date table।
(৫) Bidirectional filter overuse:
- Convenience-এ all relationship bidirectional — performance disaster।
- Ambiguous filter path — model break।
- Default single-direction, bidirectional শুধু absolutely needed-এ।
(৬) CALCULATE-এ filter-replace বনাম filter-add:
// "Mobile sales" — Product filter REPLACE
Mobile = CALCULATE([Total Sales], Product[Cat] = "Mobile")
// "Mobile + Fashion" — boolean filter
Top2 = CALCULATE([Total Sales],
Product[Cat] IN {"Mobile","Fashion"})
// FILTER দিয়ে preserve
Mobile2 = CALCULATE([Total Sales],
FILTER(Product, Product[Cat]="Mobile"))
(৭) Iterator-এ row context vs filter context:
- SUMX — row context creates।
- Inside SUMX-এ measure call → context transition (row → filter)।
- Subtle bug source।
Debugging strategies:
(ক) Visual decomposition:
- Complex measure → তিন-চারটি intermediate measure ভাগ।
- প্রতিটি card visual-এ display — value verify।
(খ) DAX Studio:
- Server timings — কোন measure slow।
- Query plan — DAX engine কী করছে।
- Free tool, must-have।
(গ) Performance Analyzer:
- Power BI Desktop-এ built-in।
- প্রতিটি visual-এর time, query।
- Bottleneck pinpoint।
(ঘ) ISFILTERED, ISCROSSFILTERED:
- Conditional logic — current filter state-এ ভিন্ন behavior।
- Total vs subtotal handling।
(ঙ) HASONEVALUE:
- Single context vs multiple — গুরুত্বপূর্ণ।
- Total row-এ HASONEVALUE = false।
Bangladesh real-world example:
- Bank-এর "branch-wise NPL" dashboard।
- Total NPL ratio mismatch — branch-level filter context issue।
- Solution: branch dimension থেকে calculation, transaction table-এ থেকে না।
Learning curve:
- Week 1: SUM, AVERAGE basic।
- Month 1: CALCULATE, filter context।
- Month 3: Time intelligence।
- Month 6: Advanced patterns।
- Year 1+: Mastery।
মূল উপলব্ধি: DAX = SQL-এর চেয়ে গভীর, programming language ভাবে শিখতে হবে। "DAX Patterns" book (Marco Russo) bible।
প্র ০৪ Tableau Public-এ একটি portfolio dashboard বানাবেন — Bangladesh-এর কোন data বেছে নেবেন? কী কী visualization include করবেন? কীভাবে interview-এ stand out হবে?
Portfolio interview-এ technical skill-এর চেয়ে গুরুত্বপূর্ণ। Data ও story বাছাই critical।
Data source ideas (publicly available):
(১) Bangladesh Bureau of Statistics (BBS):
- Population Census ২০২২।
- Labor Force Survey।
- Household Income & Expenditure Survey (HIES)।
- Industry production index।
(২) Bangladesh Bank:
- Remittance inflow district-wise।
- Banking sector NPL ratio।
- Foreign exchange reserves।
- MFS transaction volume (bKash, Nagad)।
(৩) Election Commission:
- Election results 2008, 2014, 2018, 2024।
- Voter turnout by district।
- Party-wise vote share trend।
(৪) IEDCR / Health:
- COVID-19 case timeline।
- Dengue outbreak by district/month।
- Vaccination coverage।
(৫) Open Data:
- data.gov.bd portal।
- World Bank Bangladesh dataset।
- Kaggle "Bangladesh" search।
(৬) Sports/Entertainment:
- BPL cricket statistics।
- Bangladesh national team performance।
- Box office of Bengali films।
Recommended portfolio (3 dashboards):
Dashboard 1: "Bangladesh-এর জনসংখ্যাগত পরিবর্তন ১৯৭১-২০২২"
- Animated map — population growth।
- Age pyramid — demographic dividend story।
- Urbanization trend।
- Highlight: Tableau map skills, animation, storytelling।
Dashboard 2: "MFS Revolution: bKash, Nagad, Rocket Comparison"
- Time-series transaction volume।
- Geographic penetration map।
- Per-capita usage by district।
- Interactive filter — date range, MFS provider।
- Highlight: business analysis, KPI design।
Dashboard 3: "BPL ১১ Year Analytics" (entertainment-friendly)
- Player batting average over season।
- Team win-loss record।
- Top run-scorer Mexico-style timeline।
- Highlight: data wrangling, narrative chart।
Visualization selection criteria:
- One showcase chart — your unique technique।
- One simple-but-effective — KPI grid।
- One interactive — filter, parameter, drill-down।
- One geographic — Bangladesh map।
- One time-series — trend।
- Cohesive theme — color, font, layout।
Stand-out tips:
(১) Bengali typography:
- Title Bengali, axis label English mixed।
- Show local cultural awareness।
(২) Insight-driven, not feature-driven:
- "৩টি pattern detected" — bullet point।
- "Recommendation" section — business value।
- Story not technique।
(৩) Documentation:
- "Methodology" section — data source, cleaning steps, calculations।
- GitHub repo with Tableau workbook + cleaned CSV।
- README — clear।
(৪) Mobile responsive:
- Phone view design — recruiter মেইলে link খুললে।
- Device-specific layout (Tableau Public supports)।
(৫) Local context resonates:
- "Padma bridge before/after" — economic dashboard।
- "July Movement protests" — social media analysis।
- Recruiter-এর সাথে instant connection।
Interview talking points:
- "Why this dataset?" — curiosity-driven।
- "Data quality issues faced?" — problem-solving।
- "Iterations?" — version 1 vs final।
- "Limitations & next steps?" — honesty।
Distribution strategy:
- LinkedIn post weekly — one chart with story।
- Tableau Public profile — pinned at top।
- Personal website-এ embed।
- Bangladesh data viz community share (FB groups)।
মূল উপলব্ধি: Portfolio = your work, not certificate। Real Bangladesh data + insightful story = interview gold।
অনুশীলন
-
Decision matrix: একটি ৩০-জন agency-র জন্য — তাদের সব designer Mac-এ কাজ করেন। কোন BI tool? কেন?
Tableau — কারণ Power BI Desktop Mac-এ নেই। (Power BI Service browser-এ চলে কিন্তু authoring Windows VM ছাড়া অসম্ভব)। Tableau Desktop Mac native ভাল কাজ করে। Cost বেশি — কিন্তু Mac-team-এর efficiency justifies।
-
Power BI Desktop install: ফ্রি Power BI Desktop install করুন। একটি sample CSV (Excel sales data) load করুন। ৩টি বিভিন্ন chart বানান।
Steps:
- powerbi.microsoft.com → Download Desktop।
- Get Data → Text/CSV।
- Visualization pane → Bar, Line, Pie icon।
- Field-list থেকে drag-drop axis ও values-এ।
- File → Save as .pbix।
-
Bangladesh dataset find: Kaggle-এ "Bangladesh" search করুন। ৩টি interesting dataset list করুন এবং কী visualization বানাবেন note করুন।
Examples:
- "Bangladesh COVID-19 Daily Cases" → animated map + line chart।
- "Daraz Product Reviews" → sentiment + price-vs-rating scatter।
- "Bangladesh Election Results 2018" → constituency choropleth।
প্রতিটি story-driven — শুধু chart না।
আরও পড়ুন · ABCL TECH-এ আপনার পরবর্তী পদক্ষেপ
- পাঠ ২৮ · Storytelling with data পরবর্তী পাঠ Tool যাই হোক — গল্প বলার কৌশলই dashboard-এর প্রাণ।
- পাঠ ২৬ · Streamlit ডেটা অ্যাপ আগের পাঠ Code-based alternative — comparison।
- পাঠ ২৯ · প্রজেক্ট: e-commerce ড্যাশবোর্ড এই পাঠের সাথে সম্পর্কিত Hands-on dashboard project।
- সব AI Courses দেখুন ABCL TECH Python, ML, DL, NLP, CV, GenAI, RL, MLOps।