You cannot create two columns with exactly the same name. Because if that was possible, how would SQL know in what column you want to insert values (keep in mind that you can insert values by the order you determine, for example both would work: INSERT INTO tbl (col1, col2) VALUES (x, y); INSERT INTO tbl (col2, col1) VALUES (y, x);). But you can name them slightly different, like col1 and col_1, like in your example. Then everything will work fine. You can learn about both table relationships and time intelligence using free data on the Microsoft Azure Marketplace. Some of these datasets are very large, requiring a fast internet connection to complete the data download in a reasonable period of time.
You can now slice arrival delays by year and month, or other values in the calendar.
Tips: By default, months are listed in alphabetical order. Using the Power Pivot add-in, you can change the sort so that months appear in chronological order.
The PivotTable now sorts each month-year combination (October 2011, November 2011) by the month number within a year (10, 11). Changing the sort order is easy because the DateStream feed provides all of the necessary columns to make this scenario work. If you’re using a different time intelligence table, your step will be different. |