1 වන පාඩමවෙළඳසැල සහ ස්ථාන objects: Store_ID, Store_Name, Region, Country, Channelවිකුණුම් විශ්ලේෂණ සඳහා වෙළඳසැල සහ ස්ථාන dimension objects නිර්වචනය කරන්න. වෙළඳසැල හඳුනාගැනීම්, නම්, ප්රදේශ, රටවල් සහ නාලිකා ආකෘතිකරණය කිරීම සහ මේ ගුණාංග භූගෝලීය සහ නාලිකා ක්රියාකාරීත්ව වාර්තාකරණයට සහාය වන ආකාරය ඉගෙන ගන්න.
Store_ID as the store business keyStore_Name standards and cleansingRegion and country hierarchiesChannel classification and mappingLocation attributes for filtering2 වන පාඩමයතුරු, joins සහ aliases: conformed dimensions සහ එකම වගුවට multiple joins සඳහා තාක්ෂණයන්Conformed dimensions සඳහා keys, joins සහ aliases ආකෘතිකරණය කරන්න. Shared dimensions facts කිහිපයකට එක් කිරීම, loops වළක්වා ගැනීම සහ විශ්වකෝෂ ස්කීමාවේ විවිධ භූමිකා හෝ මාර්ග නිරූපණය කිරීමට table aliases භාවිතා කිරීම ඉගෙන ගන්න.
Natural versus surrogate keys in designInner and outer join choicesCreating and using table aliasesResolving join loops with contextsValidating join paths with sample queries3 වන පාඩමමූලික විශ්වකෝෂ objects: Sales_Revenue (sum), Units_Sold (sum), Gross_Margin (sum), Discount_Amount (sum)පරිශීලකයින් භෝගතා කරන මූලික විකුණුම් fact measures නිර්මාණය කරන්න. Revenue, units, margin සහ discounts additive measures ලෙස ආකෘතිකරණය කිරීම, aggregation හැසිරීම නිර්වචනය කිරීම සහ විශ්වකෝෂයේ එක් එක් මිනුම් පිටුපස ව්යාපාර නීති ලේඛනගත කිරීම ඉගෙන ගන්න.
Business definition of Sales_RevenueUnits_Sold measure and aggregation rulesGross_Margin calculation and validationDiscount_Amount sourcing and logicMeasure formatting and number scaling4 වන පාඩමDerived සහ calculated objects: Margin_Pct, Stock_Turnover, Days_of_Inventory, Slow_Mover_Flag සඳහා variablesව්යාපාර තර්කය encapsulate කරන derived සහ calculated objects නිර්මාණය කරන්න. Margin percentage, stock turnover, days of inventory සහ slow mover flags ගොඩනඟා ගැනීම සමනුසුවෙන් සහ හොඳින් ලේඛනගත කර තබා ගැනීම ඉගෙන ගන්න.
Margin_Pct formula and rounding rulesStock_Turnover calculation optionsDays_of_Inventory business definitionSlow_Mover_Flag thresholds and logicValidating derived metrics with samples5 වන පාඩමAdditional විශ්වකෝෂ objects: Selling_Price (detail), Cost_of_Goods_Sold (detail), Stock_Level (snapshot), Stock_Value (calculated)විශ්ලේෂණය පුෂ්ට කරන additional detail සහ snapshot measures ආකෘතිකරණය කරන්න. Selling price, cost of goods sold, stock level සහ stock value ඉදිරිපත් කිරීම, වාර්තාවල detail vs aggregated objects භාවිතා කිරීමේදී තේරුම් ගන්න.
Selling_Price as a detail objectCost_of_Goods_Sold sourcing and rulesStock_Level as a snapshot measureStock_Value as a calculated measureChoosing detail versus aggregated objects6 වන පාඩමMultiple fact tables හැසිරවීම: join වර්ග, contexts, aliases fan traps සහ chasm traps වළක්වා ගැනීමටඑක් විශ්වකෝෂයක් තුළ multiple fact tables ආරක්ෂිතව හැසිරවන්න. Fan සහ chasm traps වළක්වා ගැනීමට join strategies, contexts සහ aliases ඉගෙන ගන්න, combined sales සහ stock වාර්තා නිවැරදි, nonduplicated ප්රතිඵල ලබා දෙන්න.
Identifying fan and chasm trap patternsJoin strategies for multiple fact tablesUsing contexts to isolate fact combinationsAliases to separate incompatible joinsTesting combined sales and stock queries7 වන පාඩමDimension objects: Product_ID, SKU, Product_Category, Product_Subcategory, Brandවිශ්ලේෂණ සඳහා ශක්තිමත් නිෂ්පාදන dimension objects නිර්මාණය කරන්න. IDs, SKUs, categories, subcategories සහ brands ඉදිරිපත් කිරීම, slowly changing attributes කළමනාකරණය, සියලුම fact tables අනුව ස්ථාවර නිෂ්පාදන rollups සහතික කිරීම.
Product_ID as primary business keySKU granularity and uniquenessProduct_Category hierarchy designProduct_Subcategory relationshipsBrand attributes and reporting use8 වන පාඩමDouble counting වළක්වා ගැනීම: clear grain නිර්වචනය, aggregate-aware contexts, semi-additive measures පැහැදිලි කිරීමAggregated වාර්තාවල double counting වළක්වා ගැනීම තේරුම් ගන්න. Clear fact grain නිර්වචනය, aggregate-aware objects සහ contexts භාවිතය, stock සහ balances over time වැනි semi-additive measures නිවැරදිව හැසිරවීම.
Defining a clear and consistent fact grainAggregate-aware measures and objectsDesigning and using universe contextsSemi-additive measures across timeTesting reports for hidden double counting9 වන පාඩමකාල objects: Calendar_Date, Fiscal_Year, Fiscal_Period, Week, Month_To_Date_Flagනම්යශීලී කාල විශ්ලේෂණ සඳහා කාල dimension objects නිර්මාණය කරන්න. Calendar dates, fiscal years, fiscal periods, weeks සහ month-to-date වැනි flags ඉදිරිපත් කිරීම, ස්ථාවර කාල-පාදක පෙරහන් සහ සංසන්දන සක්රීය කිරීම.
Calendar_Date as the base time keyFiscal_Year and Fiscal_Period mappingWeek and month attributes for groupingMonth_To_Date_Flag logic and usageHandling holidays and special periods10 වන පාඩමFact grain සහ modeling: transaction-level sales fact vs stock snapshot fact, grain බලපෑම්එක් එක් වගුව සඳහා fact grain නිර්වචනය සහ ලේඛනගත කරන්න. Transaction-level sales facts සහ stock snapshot facts අතර වෙනස ඉගෙන ගන්න, grain තේරීම් aggregations, drill paths සහ report performance බලපාන ආකාරය.
Transaction-level sales fact definitionStock snapshot fact grain and timingGrain alignment across related factsImpact of grain on aggregationsDocumenting grain for report designers11 වන පාඩමSubject areas හඳුනාගැනීම: Sales fact, Stock fact, Product master, Store master, Calendar dimensionවිශ්වකෝෂ නිර්මාණය තීරණය කරන ව්යාපාර subject areas හඳුනාගන්න. Sales, stock, product, store සහ calendar දත්ත fact සහ dimension tables වලට mapping කිරීම, මෙම වෙන්වීම නම්යශීලී, ස්ථාවර වාර්තාකරණයට සහාය වන ආකාරය ඉගෙන ගන්න.
Sales fact subject area definitionStock fact subject area definitionProduct master as a conformed dimensionStore master and location coverageCalendar dimension business requirements12 වන පාඩමAuditing සහ lineage fields: Data_Source, Load_Timestamp, Record_Status troubleshooting සහ reconciliation සඳහාවිශ්වකෝෂයට auditing සහ lineage fields හඳුන්වා දෙන්න. Data_Source, Load_Timestamp සහ Record_Status troubleshooting, reconciliation සහ පරිශීලක විශ්වාසයට සහාය වන ආකාරය ඉගෙන ගන්න, අවසාන පරිශීලකයින් ව්යාකූල කිරීමකින් තොරව ඒවා ඉදිරිපත් කිරීම.
Purpose of Data_Source in reportingUsing Load_Timestamp for recency checksRecord_Status for active or deleted rowsDesigning audit objects for power usersReconciliation techniques using audit data