Power Query Drill Down and RoundUp function to Round Up to the Nearest Whole Number - Pies @OzduSoleilDATA
Power Query Drill Down and RoundUp function to Round Up to the Nearest Whole Number - Pies  @OzduSoleilDATA
Uploaded May 2018 | Updated November 2026, 3 hours ago
Recent videos have included the Drill Down feature that's in Power Query and PowerBI. My friend, Bart Titulaer asked for more detail about Drill Down because it isn't so clear.

Download the workbook: datascopic.net/drilldown

In this video I show Drill Down as a means to get down to a value.

The scenario: We sell slices of pie and whole pies. In order to figure out how much kitchen time to schedule, we need tally all the slices and all the whole pies and get an equivalent number of whole pies.

Typically, we use Power Query to get to a summary, a table, a list, etc. But, what about those times when we need to do a lot of calculations queries to get to a value and use that value in further calculations/queries?

Without Drill Down, we'd have to use a join or tricky M coding. Power Query's Drill Down simplifies this.

Also, you see how to round numbers with the Number.RoundUp function. Since we can't make, say, 5 pies and 2 slices we use Number.RoundUp to get 6 whole pies.
******
IMPORTANT NOTE: If you do download the workbook there are a couple of details left out of the video because they got messy to explain:
1. There's a minimum order of 2 slices.
2. A lot of people placed more than 1 order.
3. Before we filter out orders of just 1 slice, we have to group in case a person placed 2 orders of a single slice or maybe 1 slice and 1 pie. We keep those orders and get rid of the orders of truly just 1 slice.
******
#DrillDown
#PowerQuery

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
Power Query Drill Down and RoundUp function to Round Up to the Nearest Whole Number - PiesAnnouncement: Free Data-Cleansing & Power Query TrainingCreating a Custom Data Type with Power Query; including XLOOKUP and Dynamic ArraysPower Query Drill Down, Query Dependencies and FormulasCreate a Variable Number of Entries in a List using REPT and Split Columns into Rows3 Power Query Warnings: Variable Column Header Names | Text & Columns in 1 Cell | Counting 0 to 1VLOOKUP vs INDEX/MATCH: The Hottest Debate in ExcelReferencing Queries with Power Query: Segmenting, Cleaning and Appending a Messy DatasetExtract Bold Font from a String of Text in a Cell -  Baffmasta EditionInsert a Line-Feed Between Every 3rd Character Using Excels Power QueryHow to Split Columns with Power Query with Variable DelimitersExcels IF, AND, and OR Functions  |  Excel Ignited Day 14  |  SSSDEVA
Excel On Fire (Oz du Soleil) |

Power Query Drill Down and RoundUp function to Round Up to the Nearest Whole Number - Pies

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER