Deprecated: Creation of dynamic property CF\WordPress\DataStore::$logger is deprecated in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php on line 23

Deprecated: Creation of dynamic property CF\WordPress\Proxy::$pluginAPI is deprecated in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/Proxy.php on line 31

Deprecated: file_get_contents(): Passing null to parameter #2 ($use_include_path) of type bool is deprecated in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/codelights-shortcodes-and-widgets/codelights.php on line 20

Warning: session_start(): Session cannot be started after headers have already been sent in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/automatic-video-posts/vendor/ternstyle/wordpress/src/class/wordpress.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Deprecated: Creation of dynamic property ternplugin\youtube_video::$post is deprecated in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/automatic-video-posts/vendor/ternstyle/plugin/src/class/youtube_video.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/cloudflare/src/WordPress/DataStore.php:23) in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1758
{"id":1246,"date":"2019-05-28T16:51:12","date_gmt":"2019-05-28T23:51:12","guid":{"rendered":"https:\/\/bonbonsguide.com\/wp\/?p=1246"},"modified":"2019-05-29T17:39:59","modified_gmt":"2019-05-30T00:39:59","slug":"average-last-3-customer-sales-power-query-dax-measure-or-worksheet-formula-excel-magic-trick-1552","status":"publish","type":"post","link":"https:\/\/bonbonsguide.com\/wp\/blog\/2019\/05\/average-last-3-customer-sales-power-query-dax-measure-or-worksheet-formula-excel-magic-trick-1552\/","title":{"rendered":"Average Last 3 Customer Sales: Power Query, DAX Measure or Worksheet Formula"},"content":{"rendered":"

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