Use Power Query to Identify 2 Consecutive Months of Underperformance @OzduSoleilDATA
Use Power Query to Identify 2 Consecutive Months of Underperformance  @OzduSoleilDATA
Uploaded July 2018 | Updated November 2026, 2 days ago
If performance is below standards for 2 consecutive months, something bad is going to happen!
(Download the workbook: datascopic.net/2months}
Highlighting periods like that are challenging in Power Query because PQ forces us to think in terms of whole columns or whole tables. We can't easily compare a range of cells against each other and pluck out the offenders.

This is based on a real project where a client could not bill for periods where they fell short of their promise for 2 consecutive months.

In this video I show a solution that includes merging tables, Unpivot, adding custom columns, and adding conditional columns. As an extra step, I make the threshold variable by using Power Query's Drill Down and a little massaging of the M code to pass a parameter from the worksheet into a query.


For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning


Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
Use Power Query to Identify 2 Consecutive Months of UnderperformanceExcelHash: Greatest Threat - MAX, FREQUENCY, Form Controls, 3D ModelDATEDIF & Dynamic Arrays  |  Calculating the months to complete a project  | Dont Rush EditionPower Querys Column by Examples has been Improved3 More Warnings re: Get and Transform: Disappearing Headers, Conditional Columns, Strange DuplicatesVLOOKUP-True Equivalent in Power Query with Dynamic TiersPower Query Challenge: Split by Multiple Delimiters | Merge All ColumnsPaqui One Chip Challenge 2017 | Carolina Reaper ChipExcel Power Query  Data Cleansing Part 3 Consolidate Workbooks  Worksheets Using Power QueryData Literacy, Power Query, Understanding Data and ReportsFull Anti-Join and the New XLOOKUP with if not foundReconciling Christmas Payments 2: Merging a Power Query Query with Itself
Excel On Fire (Oz du Soleil) |

Use Power Query to Identify 2 Consecutive Months of Underperformance

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER