Download Excel Finished Files: http:\/\/bit.ly\/2K9SNfn
\nEntire page with all Excel Files for All Videos: http:\/\/bit.ly\/1kSFWvs<\/p>\n
In this video learn how to Average a customers last three sales (last three dates) using Excel Worksheet Formulas, Power Query M Code and a Power Pivot & Power BI DAX<\/strong> Measure.
\nTopics:
\n1. (00:07) Introduction
\n2. (00:50) Sort Method
\n3. (02:09) Excel Worksheet Formulas, including AGGREGATE and AVERAGEIFS functions.
\n4. (05:27) LARGE Function and New Excel Office 365 Calculation Engine
\n5. (08:15) Power Query M Code, including Table.Sort, List.Average and List.FirstN M Code functions
\n6. (12:46) Power Query Parameter Query with condition coming from Excel Worksheet
\n7. (14:05) Power Pivot & Power BI DAX Measure, including TOPN, CALCULATE and AVERAGE DAX Functions
\n8. (17:08) DAX Parameter from Excel Worksheet using VALUES DAX Function.
\n9. (18:43) Add new records to table and test formulas
\n10. (19:00) Fix Power Query Table.Sort bug using Dummy Insert Column
\n11. (20:08) Fix Power Query Table.Sort bug using Table.Sort function inside Table.Group Function
\n12. (22:12) Conclusion<\/p>\n