Loading topic
Date table and Sales fact table from the previous chapter.6 min readSales related to a dimension table Date), and you have used a measure in a matrix or line chart. It also assumes you have the marked Date table from the earlier chapter. All examples use the `Total Sale6 min readSUM and DIVIDE. It also assumes you have a star schema with a marked, contiguous date table, and that you know CALCULATE replaces filters. The earlier chapters on the date table, filter context, and CALCULATE cover these. Here the6 min readSUM, know what a star schema is, and have a Date table related to a Sales fact table. It also assumes you know a measure is re-evaluated for every cell of a visual. The next chapters build year-over-year growth and moving averages, and bot6 min readSUM and DIVIDE. It also assumes you have a contiguous, marked Date table related to your Sales fact table, as built in the earlier chapters. Here you write year-to-date (YTD) measures in two ways, see what they return, and learn the erro6 min readCALCULATE, a marked date table with no gaps, and the way a visual's 6 min read'Date' table marked as the model's date table, related to the fact table on the date column. It also assumes you can write a basic measure such as Total Sales and use it in a matrix. The measures below use the Total Sales measure from earlier chapters5 min readTOTALYTD and SAMEPERIODLASTYEAR measures on a marked, contiguous date table, and that you know how CALCULATE replaces filters. Here you will adapt those measures to a fiscal year that starts in a month other than January. The examples use a fiscal 5 min readSales YTD and the prior-year measure Sales PY from earlier chapters. It covers why those measures keep returning numbers after your data ends, and how to stop the6 min readCALCULATE replaces filters on a date column. Here you will learn the usual reasons these measures return wrong numbers, and how to pro6 min read