Date Dimension: One Script for All

Slides:



Advertisements
Similar presentations
Designing MS-Access Tables
Advertisements

© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 10 – Designing.
Microsoft Word Objectives: Word processing using Microsoft Word
Management Reporter Ian Richardson CGA Cale Tanguay CGA.
School Year Calendar This Excel spreadsheet produces a 14-month calendar through the school year, with minimal initial user input. Keeping a count.
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
Introduction to the Nevada SharePoint Site
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
Google Forms. On your ASUrite homepage, select the My Docs link in the Quick Links box. 1.
Chapter 4 Data and Databases. Learning Objectives Upon successful completion of this chapter, you will be able to: Describe the differences between data,
Alpha Gamma Delta GINsystem Training. What is the GINsystem? A members-only internal communication system for Alpha Gamma Delta chapters Features : –Announcements.
Scripting Just Enough SSIS to be Dangerous. 6/13/2015 Visit the Sponsor tables to enter their end of day raffles. Turn in your completed Event Evaluation.
Power BI is Awesome! Steve Wake BI Developer, Chipotle Mexican Grill President, Denver SQL Server User Group.
Building the Corporate Data Warehouse Pindaro Demertzoglou Lally School of Management Data Resource Management.
Power BI is Awesome! Steve Wake DW/BI Engineer, National CineMedia (NCM) Chapter Leader, Mile Hi Power BI User Group.
Time & Attendance Plugin Version Suganya T Adhi Software Pvt Ltd
Date Dimension: Past & Future in One Script Steve Wake, BI Developer, Chipotle.
CIPHER Fresno County Public Library Metrics December2015 Day & Hour of the Weeks in December : December 2015 had three Fridays (Holiday) four Sundays,
Power BI is Awesome! Steve Wake DW/BI Engineer, National CineMedia (NCM) Chapter Leader, Mile Hi Power BI User Group.
BIS 219 Week 1 DQ 3 What are information resources? What types of information resources does a business usually need? Why is it important for a general.
Entrepreneur News Portal, News Management Script - phpscriptsmall
CIPHER Fresno County Public Library Metrics June 2016
Case Study: FAA Air Traffic Data
Let’s Get Started! Steve Rezhener SQL Malibu and SQL Saturday in LA
DART Request Training for Korea Account Managers
Social Media Marketing!
Mile Hi Power BI User Group
Microsoft Word Objectives: Word processing using Microsoft Word
Mile Hi Power BI User Group
Uniting Free Government Data using PowerPivot
Make Power BI Your Own with the Power BI APIs
10 Amazing Things About Power BI You Don’t Know
Scoop.it Scoop.it is a web-based curation tool that allows you to collect and organize web information. Once you curate tools and resources, Scoop.it.
Mile Hi Power BI User Group
Software project mgt. session # 3– lab manual.
Reports on the Go SSRS 2016 Mobile Reporting
Make Power BI Your Own with the Power BI APIs
DART Request Training for Australia Distributors
Automated Docketing With the ADI Wizard for Bankruptcy Courts
Creating Reports and Dashboards with Power BI
Multi-Vendor Marketplace Script | Multi-Vendor Ecommerce solutions
ABC! Always Be…. Coding (calculated measures)
Nicole Steen-Dutton, ClickDimensions
Make Power BI Your Own with the Power BI APIs
Apps4.Pro Planner Manager
Retail Sales is used to illustrate a first dimensional model
Database Code Management with VS 2017 and RedGate
Intro to SQL Server Reporting Services (SSRS)
Mobile, Paginated, KPIs, and Power BI, Oh My!
DAX and the tabular model
Software project mgt. session # 3– lab manual.
© 2016 Blackboard Inc. All rights reserved..
SQL Saturday New York City May 19th, 2018
Make Power BI Your Own with the Power BI APIs
Mobile, Paginated, KPIs, and Power BI, Oh My!
Timecards.
IOF Event Overview Tool – status Feb 2018
What is a CMS. CMS is content management system CMS is a software that stores content.
THINK! Office Solutions Denver, Colorado
Data Modeling and Prototyping
Information System Analysis
Link Details to Multiple Projects in Autodesk® Revit®
Rich Griffin Vice President, National Sales Manager
You don’t have to struggle with your
CAD DESK PRIMAVERA PRESENTATION.
Mobile, Paginated, KPIs, and Power BI, Oh My!
Creating and Using Calendar Tables
Data Wrangling as the key to success with Data Lake
Just Enough SSIS Scripting to be Dangerous.
Data Modeling and Prototyping
Presentation transcript:

Date Dimension: One Script for All Steve Wake DW/BI Engineer III, National CineMedia Chapter Leader, Mile Hi Power BI User Group

What is a Date Dimension? Dimension to track dates (usually by day) Can track multiple calendars (Gregorian, Julian, Fiscal) Time should be in separate Dimension (if needed) One row per date/day 2 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017

What is a Time Dimension? Dimension to track time hours/minutes/seconds (depends on application) Keep time zones in mind Separate from Date Dimension for flexibility Only needs to cover 24 hours 3 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017

Why Date/Time Dimensions? Most reporting is done by date/time Track Holidays and other significant dates Do date calculations in SQL once Date/Time period comparisons Generate for years/decades easily 4 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017

Date/Time Dimension Types Calculated Tool Created Custom Physical Hybrid 5 | 2/11/2017 SQLSaturday #358 – Albuquerque 2015

What to Include in the Date_DIM? Date as Integer for PK to make reload not break links (20170211) Date in multiple formats (“02/11/2017”, “Saturday, February 11, 2017”, etc.) Multiple parts (Month, Day, Year, Month Text, Day Text, etc.) Holiday indicator (domestic/international/religious) Gregorian/Julian/Fiscal Calendars Calculated measures (Day # in week, Day # in month, Day # in year, Week # in month, Week # in year, etc.) 6 | 2/11/2017 SQLSaturday #358 – Albuquerque 2015

Demo dimDate script dimTime script 7 | 2/11/2017 7 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017

Summary What & Why of Date/Time Dimensions Date Dimension Benefits What to Include in Date Dimension What to Include in Time Dimension 8 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017

Contact swake@ncm.com @stevewake on Twitter LinkedIn, Google+ Blog – http://wakebi.com Mile Hi Power BI – http://milehipowerbi.com 9 | 2/11/2017 SQLSaturday #596 – Denver BI Edition 2017