No video

Filter by Parameter and Dynamic Drop-Downs with Power Query | Everyday Office

  Рет қаралды 46,419

Knack Training

Knack Training

Күн бұрын

Power Query is Excel's new ETL (Extract, Transform, and Load) tool. It's used to pull data in from many different sources, then 'transform' the data in any ways necessary before 'loading' it into your spreadsheet. As you're transforming the data, you may want to provide Power Query some variable information - this can be a 'parameter.' In this exercise, we create a dynamic drop-down menu from the data, then use the user-selected option as a parameter to filter the data. With a simple macro to refresh the data, you now have an easy-to-filter subset of the larger dataset you're bringing in.
Everyday Office is the media arm of Knack Training, a software and professional development training and consulting company headquartered in Orlando, FL. More content can be found on:
- www.knacktraini...
- www.knacktraini...
Check the playlists on the Everyday Office channel for more tutorials in the areas you are having the most trouble with.

Пікірлер: 45
@arturgarncarz3631
@arturgarncarz3631 Жыл бұрын
Just found your channel. It's a true gem! Regards from Poland
@quinnjohnson1307
@quinnjohnson1307 4 жыл бұрын
Great job on this video! You really saved me and helped me understand something that was super confusing!
@Ednut19
@Ednut19 2 жыл бұрын
Excellent video! You’ve simply explained what could have been a complicated topic. Thanks
@Thor_Underdunk_Caballerial
@Thor_Underdunk_Caballerial 3 жыл бұрын
This is incredibly helpful, Thank You.
@SeemaSharma-lj3cf
@SeemaSharma-lj3cf 10 ай бұрын
EXTREMELY HELPFULL, thanks for sharing it 👌👍
@vsrblr
@vsrblr 3 жыл бұрын
fantastic job, nice demonstration
@ChrisBrogan-l3q
@ChrisBrogan-l3q Күн бұрын
Any joy with the follow up for getting back to all data if blank and selecting multiple regions?
@setortransporte9624
@setortransporte9624 2 жыл бұрын
Very, very, very good! Thanks very much, helped me a lot.
@davidp3228
@davidp3228 2 жыл бұрын
For those asking how to get the whole table if criteria is "" or empty the below worked for me. L3Filter is my named range. = Table.SelectRows(#"Removed Columns", if L3Filter is null then each true else each ([L3 Name] = L3Filter))
@cabezon667
@cabezon667 Жыл бұрын
#"Removed Columns"?
@AlQur2anAlKareem
@AlQur2anAlKareem Жыл бұрын
Thank you So much!!
@mirrrvelll5164
@mirrrvelll5164 3 жыл бұрын
Amazing video, but one thing what I experimented. there on 6:38 where you changed 123ABC data type to text - is not actually neccessary, you can jsut continue use drill down to the value, it will give you text anyways... I already used it couple of times in other examples that I had =) all in all, super amazing thing with PQ, so helpful to automate almost everything.
@yamenyehia1831
@yamenyehia1831 5 ай бұрын
Thank you for this informations
@Luciano_mp
@Luciano_mp 2 жыл бұрын
Great...thank you!
@MarjiEmad
@MarjiEmad 2 жыл бұрын
It is a great one, but what if I want to filter on 2 or more regions?
@tatsuya_tech
@tatsuya_tech 2 жыл бұрын
Its work. Thanks you so much.. hatur nuhun pisan mang.
@TheRedTbone
@TheRedTbone 6 ай бұрын
Surely it is quicker to read the csv in with power query as in the video, format, then load the whole table, then user a slicer for region? I know the table is large but excel handles millions of rows but its a lot simpler and deals with any new region.
@khalidmajeed2886
@khalidmajeed2886 Жыл бұрын
great sir
@Alwahashi-tech
@Alwahashi-tech 11 ай бұрын
جزاك الله خير
@Hurmali1
@Hurmali1 Ай бұрын
Looks like the slicer function??
@brendasteven9339
@brendasteven9339 11 ай бұрын
I have a question about the named range for Region (starting at 3:55 in the video). What if that list varies? For example, next time you run the report there are now 15 regions instead of 10? Your named regions only goes to row 10. The new 5 regions would not show in the drop down list.
@fennecfennec5234
@fennecfennec5234 11 ай бұрын
brilliant
@kennethvela2784
@kennethvela2784 2 жыл бұрын
For this, I just use the filter in the table
@SKEDURINRAJA
@SKEDURINRAJA 2 жыл бұрын
Great
@zarkotripunovic7507
@zarkotripunovic7507 4 жыл бұрын
Great video! I have one question: how can we get whole table if criteria is "" or empty, just like when using advanced filter in spreadsheet?
@KnackTraining
@KnackTraining 4 жыл бұрын
Good question! You'd have to add a little logic to make that happen. Added it to the 'future videos' list.
@zarkotripunovic7507
@zarkotripunovic7507 4 жыл бұрын
@@KnackTraining I figured it out but not 100% what I was looking for. This is my code: #"Filter1" = Table.SelectRows(#"Filtered Rows", each if BarCodeBoce="Svi" then not Text.StartsWith([BarCode broj],"Svi") else Text.Contains([BarCode broj], BarCodeBoce)) "BarCodeBoce" is my variable, while "Svi" is word that 100% won't be in the name of "BarCode Broj"
@valapo80800
@valapo80800 Жыл бұрын
Macro via Worksheet_Change?
@rakshitharamesh3161
@rakshitharamesh3161 3 жыл бұрын
What if my data source is external and it keeps changing every day so in your case what if the region column gets updated with new data or may be removed. Thanks!
@samanthasalazar9221
@samanthasalazar9221 3 жыл бұрын
Let me know if you have this figured out! TIA
@JenMayB
@JenMayB Жыл бұрын
How do I get it to clear the filter so that all data returns if I want it.
@baule2206
@baule2206 4 жыл бұрын
I have the same question, how i can see the whole table if the creteria is empty?
@KnackTraining
@KnackTraining 4 жыл бұрын
Good question - you'd have to add a logical function to translate it. Added to the future video list!
@arne.munther
@arne.munther Жыл бұрын
Couldn't this be done with Slicers ?
@zzzzzzzzzzzzzzzz9
@zzzzzzzzzzzzzzzz9 3 жыл бұрын
I'm trying to understand the benefits of using parameters. Could you not just dump the data into a piviot or table and use slicers? What's the difference
@KnackTraining
@KnackTraining 3 жыл бұрын
If your data has 10k records, no big deal. However, your dataset might be HUGE - and now you're only pulling what you need. There are a lot of potential performance gains by filtering on the query
@zzzzzzzzzzzzzzzz9
@zzzzzzzzzzzzzzzz9 3 жыл бұрын
@@KnackTraining would you consider between 100k and 400k, and growing, large?
@KnackTraining
@KnackTraining 3 жыл бұрын
Absolutely - Excel CAN deal with that data, but you're going to start experiencing the lag around that point.
@zohaibazam7105
@zohaibazam7105 3 жыл бұрын
Is it possible to show all data if our parameters field is blank. I mean if region Column is blank it must show up all the regions.
@KnackTraining
@KnackTraining 3 жыл бұрын
You'll need to build a logical test into the query - we're on it!
@davidivanov9605
@davidivanov9605 2 жыл бұрын
Very helpful video, one question though. Is it possible to have more than 1 values as a criteria, for example Northeast and Mid-South together?
@vacilando86
@vacilando86 2 жыл бұрын
Yes,It is. You can create one more than parameters in Power query just like creating "Region" parameter
@subhamsingh455
@subhamsingh455 3 жыл бұрын
Sir, how can i filter clients name in power query with a list of limited clients kept in other table/sheet. For example, if there is 100 clients in power query table, i want only interested 10 particulars clients with their data, then how can i keep filter in power query. Thank you sir....
@KnackTraining
@KnackTraining 3 жыл бұрын
Have two queries in Power Query - one of them the limited client list. Then, use Merge Queries as New, and choose an INNER join. This will keep only the matches. ANTI join would keep the non-matches.
@subhamsingh455
@subhamsingh455 3 жыл бұрын
@@KnackTraining Thank you... sir
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 36 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3,1 МЛН
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 36 МЛН
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 84 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 39 МЛН
PowerQuery Parameters
13:49
Mark Moore
Рет қаралды 40 М.
Excel Power Query Parameter from a Cell Value (using a Named Range or a Table)
20:25
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 47 М.
4 METHODS to Filter by a List in Power Query | Excel Off The Grid
13:14
Excel Off The Grid
Рет қаралды 32 М.
Passing Parameter Values from Excel to SQL Server
21:47
Anthony Smoak
Рет қаралды 28 М.
Multiple Dependent Drop-Down List in Excel | NEW Simple Method | Works with multiple rows
15:03
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3,1 МЛН