From the course: Excel Power Query Tips and Techniques
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Pass parameter: Drill down to a single value
From the course: Excel Power Query Tips and Techniques
Pass parameter: Drill down to a single value
- [Instructor] Here is our source data with vendors, aquarium types, phone numbers, et cetera and over here is the result of a query. And in cell B2, we have a number. We would like to pick that number and that 100 would mean show me the vendors who have not purchased from us in 100 days or more. And we would like to change that number, 50, 1000, whatever. How can we pass that 100 into Power Query and have it updateable, all right? This is what we're going to call pass a parameter or drill down. You ready? Okay. We've got data, okay, queries and connections. We already have the source data in this query called customers. Now we need the 100 in a query. Here we go, click inside that data range from table slash range, okay. So here is the number we want, and let's name this query, let's call it last sale. Last sale, all right. That's the name of the query. Now what we have to do is right click on this value…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Filtering in Power Query2m 30s
-
(Locked)
Sorting in Power Query1m 17s
-
(Locked)
Pass parameter: Drill down to a single value2m 59s
-
(Locked)
Prevent table from resizing1m 12s
-
(Locked)
Transformation table2m 48s
-
(Locked)
Filter for certain files when importing from a folder2m 11s
-
(Locked)
Warning: Two types of merges3m 18s
-
(Locked)
Splitting columns1m 14s
-
(Locked)