Excel Magic Trick 1451

Hack Data Model, Date Table & DAX Measures WITHOUT buying Power Pivot

DESCRIPTION

Topics in This Video:
(00:04) How to Download Files.
(00:14) Introduction to building Data Model with Relationships and DAX Formulas without buying Power Pivot in Excel 2016.
(02:47) Import Tables and Build Relationships using the Relationship button in the Data Ribbon Tab.
(04:45) Build Data Table in Excel, including TEXT Function formula to get Months to Sort Correctly in a Data Model PivotTable, without using the Sort By Column feature. See the Fill Series Trick to get a complete list of dates, see the functions YEAR, MONTH and TEXT.
(09:23) Add Relationship to Date Table.
(09:43) Start building Data Model PivotTable and notice a problem with month names not sorting correctly. Then fix it with the TEXT Function using custom Number Formatting “mm – mmm”.
(12:04) Create first DAX Measure (Formula) to add Total Sales. See SUM Function and how to add Number Formatting to Measure.
(13:42) What NOT to do when you are hacking the Data Model. Do not drag Sales or Date Fields to Values Area or Row Area of Pivot Table. These are called Implicit Measures and they are not efficient.
(14:47) Discuss Formula to get Last Year’s Sales.
(15:04) Discussion about Filter Context and how DAX Measures calculate or evaluate to get the correct answer.
(16:28) Create Second Measure (Formula) to get Last Year’s Sales using the CALCULATE and SAMEPERIODLASTYEAR DAX Functions.
(19:22) How to hide Grand Total Formula with IF and HASONEVALUE DAX Functions. We use HASONEVALUE Function on the Year Column.
(22:27) Formula to calculate Difference From Last Year using Two Previously Defined Measures and the IF Function.
(24:00) Third DAX Measure (Formula) for Running Total using TOTALYTD, IF and HASONEVALUE function on the Month Column.
(27:28) Fourth DAX Measure (Formula) for Difference from Last Month using CALCULATE, DATEADD, IF, HASONEVALUE, and AND DAX Functions. Also see Variable in DAX.
(29:50) Create Variable in Excel 2016 DAX Function language using the VAR and RETURN Keywords.
(34:26) Summary

WORKBOOKS

Download “Excel Magic Trick 1450-1454” Excel-Magic-Trick-1450-1454.zip – Downloaded 44 times – 9 MB







Be the first to comment

Leave a Reply