Loading topic
Sales fact table related to a Date dimension table. You should have placed a measure in a matrix or line chart. The previous chapter built the Date table used here.3 min readVAR and RETURN) and DIVIDE.3 min readSales table with a Sales Amount column and a 'Date' table with a Date column.2 min readSUM and CALCULATE. If not, review the date table chapter first. The goal here is a measure that returns the sales total for the same dates one year earlier, so you3 min read[Total Sales] measure, and a working grasp of CALCULATE and filter context. A moving average smooths daily or monthly noise by averaging a measure over a window that slides with the current date.3 min read[Total Sales] and the 'Date' table from earlier chapters.2 min readTOTALYTD. Many organizations close their books on a date other than December 31. A year-to-date total must then reset on that date2 min read[Total Sales] measure, and the year-to-date measure from the earlier chapters. You should also be comfortable with CALCULATE and variables.3 min read