Excel Magic Trick 1349: Power Query with Input Variables from Excel Sheet to Extract Records

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 247

  • @jhanawa
    @jhanawa ปีที่แล้ว +2

    This was awesome. I was able to create a table, pull it in, convert it to a list and use List.Contains in my power query. This allows me to give my users control over some of the variables in the reporting!!!

  • @sudharshanr4997
    @sudharshanr4997 3 ปีที่แล้ว +9

    Amazing to see such videos helping folks even after 5 years after publishing! Great video as ever Mike!

  • @dcoltonbrown
    @dcoltonbrown ปีที่แล้ว +1

    You are awesome. My go to when I am looking for an answer!

    • @excelisfun
      @excelisfun  ปีที่แล้ว

      Glad this helps!!!

  • @zt.5677
    @zt.5677 2 ปีที่แล้ว +1

    I have opened a new playlist to save the Power Query Magic Tricks that I cover. In addition to that, and the by default in playlist videos: E-DAB, MSPTDA, Excel Dragons etc, I have two: one: ExcelIsFun general and one: ExcelIsFun Finance. Those Finance videos are great: you put just as much effort into teaching finance as into teaching Excel. And hand-written notes! Thank you.

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว +1

      Yah, and it's funny: I made those finance videos 12 years ago, back when I did not editing... lol But the cash flow analysis concepts and formulas in finance are still all the same. In all my teaching career - finance is my favorite class to teach, but the department I work in got rid of those class and I got moved to more data analysis classes and so I have not taught it since way back then... I miss it, but I am certainly glad you are enjoying it : )

    • @zt.5677
      @zt.5677 2 ปีที่แล้ว

      @@excelisfun I sure do.

  • @preetsingh2336
    @preetsingh2336 ปีที่แล้ว +1

    Thanks for your valuable Transformation of knowledge through this video
    I just practically learned which you had explained 7 years ago

    • @excelisfun
      @excelisfun  ปีที่แล้ว

      Glad this helps!!!

  • @TheHightower1992
    @TheHightower1992 3 ปีที่แล้ว

    This honestly save my life on a project I am working on. If you ever think you are not helping people, know that you helped me TREMENDOUSLY.

  • @FredrikDahlberg
    @FredrikDahlberg 3 ปีที่แล้ว +1

    Just found this!! You are my hero! 🙏
    Next step is to learn how to make the parameter for the criteria dynamic.

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      Glad this helps!!!!

  • @michaelresau5260
    @michaelresau5260 6 ปีที่แล้ว +1

    Fantastic video. I made my selection list from another power pivot table slicer and used these steps to filter all my other power query tables successfully. This video addressed my challenge directly and walked me right into a solution. Thank you!

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว +1

      You are welcome so much! Thanks for the support with your comment, Thumbs Up and Sub : )

  • @joesmith5801
    @joesmith5801 6 ปีที่แล้ว +5

    Outstanding. I was able to trim a 10 MB excel file down to 40 KB. and the query runs WAY faster.
    OLD: SQL query results loaded into excel and VLookup to get information.
    NEW: Query with parameter.
    AWESOME.

  • @houstonsam6163
    @houstonsam6163 5 ปีที่แล้ว +1

    Just delivered something functionally similar at work using the conditional extraction worksheet formula (largely learned from you) with dynamic ranges to feed the output data to the appropriate charts. Have not yet parameterized my queries; need to learn this method now.
    Excel is really an amazing tool. Thanks for the consistent patient clarity you provide in teaching us.

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว +1

      Glad my videos can help you! You are welcome for the consistent clarity, Sam!

  • @dcoltonbrown
    @dcoltonbrown ปีที่แล้ว +1

    Thanks!

    • @excelisfun
      @excelisfun  ปีที่แล้ว

      Thank you very much for your kind donation, D Colton Brown!!! : )

  • @jorgedelgado4846
    @jorgedelgado4846 3 ปีที่แล้ว +1

    ¡Gracias!

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      Thank you very much for your donation, Jorge!!!! It helps me greatly to keep making videos : ) : ) : ) : )

  • @gregbernard7861
    @gregbernard7861 2 ปีที่แล้ว +1

    I love this guy.

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว

      Thanks for the love. Excel IS fun ; )

  • @mattschoular8844
    @mattschoular8844 4 ปีที่แล้ว

    You make challenging tasks so simple. That's why ExcelIsFun. Thanks Mike...

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are welcome, Matt!!!!

  • @CarloCatapano
    @CarloCatapano 5 ปีที่แล้ว +1

    Awesome! Thanks to this video I met powerquery and managed to open a 2 GB CSV file by setting customized queries and outputs.

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว +1

      Glad the video can help, Carlo!

  • @cezaryczajka9198
    @cezaryczajka9198 8 ปีที่แล้ว +5

    Great guide. As always recorded so that you can turn off the sound and still know what and how. You can see that it is a powerful tool for Excel & PQ. Thanks to such professionals like you, we can learn a lot. Thank you very much and I look forward to more.

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome! Many more videos to come ! : )

  • @Archie167
    @Archie167 2 ปีที่แล้ว +1

    Loved this✌🏻👏🏻👍🏻

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว

      Glad you loved it, Archana!!!

  • @mirrrvelll5164
    @mirrrvelll5164 4 ปีที่แล้ว +1

    Oh man...you know, every time when I open your video - first all first is to give you a like on the video, and then I am following it. Because I know I am going to learn something super useful. Thanks for this tip, I exactly needed this for my work and some tasks to automate it =)

  • @sayaligawade7782
    @sayaligawade7782 2 ปีที่แล้ว

    Yes, Excel is really fun bcoz of people like you.....Cheers!

  • @elijahjns81
    @elijahjns81 6 ปีที่แล้ว

    Wow! This makes me feel much better about my processes. This guy is smart and there's like 98 steps. Thanks for the vid.

  • @LotfyKozman
    @LotfyKozman 8 ปีที่แล้ว

    Everyday you take us much farer to show the beauty of the legal marrage between Excel and Power Query solutions. Thanks

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว +1

      You are welcome! It is amazing how Power Query is a whole new infinite part of Excel. It is vast and cannot just be learned quickly. But that is what is making it so much fun!!! : )

  • @OzduSoleilDATA
    @OzduSoleilDATA 7 ปีที่แล้ว

    THANK YOU! I was struggling to understand what people meant by parameters and "passing a variable" This video not only helped me understand, but also showed clearly how it's done. AMAZING. 🔥🔥🔥🔥

    • @excelisfun
      @excelisfun  7 ปีที่แล้ว

      Glad you like it and find it useful : )

  • @paspuggie48
    @paspuggie48 5 ปีที่แล้ว +1

    As you know Mike, I always love your videos and I'm really grasping the Power of Power Query...it's BRILLIANT ! One observation I notice with most videos on TH-cam is people navigating to the Data Tab then Refresh/RefreshAll etc....a more productive approach would be to add the icons to the Quick Access Toolbar...makes a huge difference to productivity...hope you agree :)

    • @moranrd2000
      @moranrd2000 5 ปีที่แล้ว

      Hi Paul, I love to see a variety of "productivity" improvements. They really help me. And I appreciate your suggestion. I would add this thought, however. Sometimes, my own personal QAT (Quick Access Toolbar) can get too crowded, compounded by Microsoft is taking the vivid colors away compared to earlier versions. Resulting in a difficult to read icon on the QAT. Then the question becomes, will this spreadsheet be used only by you. What happens if you leave a company and the new users QAT is different. OR.... their PowerQuery knowledge is less than yours.
      I can even conceive of a sheet specific macro that refreshes when either Variable 1 or Variable 2 are changed. Different strokes for different folks. And we Power Excel are definitely different. :-)

  • @danielsandovalarias6192
    @danielsandovalarias6192 2 ปีที่แล้ว +1

    Wow This is exactly what I was looking for. I am trying to filter a date column based on a cell value. Amazing! I'll try it!

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว

      Glad it helps!!!

  • @ahmedkammoun9409
    @ahmedkammoun9409 2 ปีที่แล้ว

    Your videos are just AMAZING ! thanks for all this effort, i'm an Architect, and this tricks helped me alot in my work , BIG thanks !

  • @RoelStein
    @RoelStein 3 ปีที่แล้ว +1

    Bedankt

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว +1

      Thank you very much for the donation, Roel : ) : ) : ) It helps me to keep making videos!!!

  • @amazingbandproyects3253
    @amazingbandproyects3253 3 ปีที่แล้ว

    Thanks for this video, I made it very well easy and powerful query on excel. Great Job! Regards from Costa Rica!

  • @ReverendHogwash
    @ReverendHogwash 4 ปีที่แล้ว +1

    Really nice, now enable multiple selections in the drop downs to aggregate even more data. That would be cool!

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      Glad you like it : )

  • @stefanh.1668
    @stefanh.1668 ปีที่แล้ว

    An excellent explaination, that was in fact the very thing I just right need for my project. Many many thanks ❤

  • @tariqcassim786
    @tariqcassim786 4 ปีที่แล้ว

    I just got in here today, wow really love the way you go step by step

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are welcome!

  • @dcos5
    @dcos5 3 ปีที่แล้ว

    The shortcuts alone would take me a few years to learn let alone everything else that's going on here. This is a God Tier Excel User Guide.

  • @altorbagh
    @altorbagh 3 ปีที่แล้ว +1

    This was so awesome, thanks for sharing your knowledge!

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      You are welcome!

  • @marounsader318
    @marounsader318 8 ปีที่แล้ว +1

    great trick! understanding M code is getting easier with time

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว +1

      Yes, M Code is even easier than DAX Formulas!

  • @jesusbowls
    @jesusbowls 6 ปีที่แล้ว +2

    Thank you very much for this video. This helped me develop a useful tax calculator tool for work!

  • @stevennye5075
    @stevennye5075 5 ปีที่แล้ว

    A very good explanation of a complex topic!

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว

      Glad it helps, Steven Nye : )

  • @macolloyd3242
    @macolloyd3242 3 ปีที่แล้ว

    AWESOME !!!!! THANK YOU

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      You are welcome!

  • @JonathanExcels
    @JonathanExcels 8 ปีที่แล้ว +1

    great video. i am watching on my phone so i cant try this out right now but three thoughts. 1) it seems like you could achieve the same result by joining(merge) the three tables in power query. 2) in ms query you could trigger a pop up window during refresh that asked a question like "which product type?" and the users input would be the criteria. i am hoping to do the same with PQ. 3) I'm a keyboard guy so I appreciate when you show the key strokes. tip: in the data validation dialog box the letter A is underlined in 'Allow' so Alt+a would take you right into the dropdown and then the letter l would jump you to 'List'.

  • @supportpremier7747
    @supportpremier7747 5 ปีที่แล้ว +1

    Mike When you created the button to Refresh all (Ctrl + Alt + F5). If you save this macro in the Personal Workbook you don't have to save the file as a macro file .xlsm This would allow you to use the macro when using Excel online. Let me know if that works. Also like to see some videos on limitations of Excel Online vs Excel Client.

  • @Small_lobster
    @Small_lobster 2 ปีที่แล้ว

    You are a life saver

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว

      You are welcome!

  • @vijaysahal4556
    @vijaysahal4556 4 ปีที่แล้ว +1

    hey mic you are really great nd fantasy nd yours teaching way is so so quality wise unique 💯💯💯💯💯👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻😘plz can I sell all powerquery class video in sequence plz help me bcz I only understand your teaching way

  • @sumardjo
    @sumardjo 4 ปีที่แล้ว

    Thank you very much for this video. This helped me develop a useful tax calculator tool for work!
    very much for exercise file
    very very tanks for sample file

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      You are welcome for the video and sample file. Happy this can help, Rusdi!!!!

  • @vacilando86
    @vacilando86 7 ปีที่แล้ว +1

    That's really awesome trainning. Thanks for it !!

  • @llezcanol
    @llezcanol 2 ปีที่แล้ว

    Me gustó mucho el ejericicio¡ muy claro ¡ muchas gracias¡

  • @marjensendk
    @marjensendk 5 ปีที่แล้ว

    Awesome video, i will need this on a reconciliation tool that i will build in a not too distant future, thanks !

  • @hassantaha3116
    @hassantaha3116 4 ปีที่แล้ว

    Wonderful video!!!!!

  • @marcjosephferrer3262
    @marcjosephferrer3262 5 ปีที่แล้ว

    this is very informative and useful. Thank you for sharing 👍😁

  • @bernieofalia
    @bernieofalia 3 ปีที่แล้ว

    Very Helpful. Thanks

  • @ikar2k
    @ikar2k 8 ปีที่แล้ว

    Thanks Mike! It's realy comprehensive trio about advantages of using PQ!
    PS:Using icon of column to choose type in PQ is cool ;)

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      Glad you like the video!

  • @CrimsonTuber
    @CrimsonTuber 6 ปีที่แล้ว

    Interesting method to use variable query with power query. But this is too advanced for me.
    I really like the interface of the pivot table and slicer to create a variable query. I was trying to find a way to use this with a scatter plot and stumbled upon this video and your trick 1337. In the end I find it quite tedious and rather just use a dummy range of cells with a simple = formula that is linked to the pivot table. The only catch is I have to manually check that my range of dummy cell is sufficient.

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      Well, that is why Excel so so great - there is a method for each of us. If it works, then that is great : )

  • @himanshudalai1028
    @himanshudalai1028 6 ปีที่แล้ว

    Fantastic video & great learning. Thank you Mike for this awesome video !!

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      You are welcome! I am very appreciative of your consistent support. So many people watch and learn, but so few are as amazing as you. Thanks : )

  • @csemanate
    @csemanate 3 ปีที่แล้ว

    Always useful

  • @maneshzaveri6277
    @maneshzaveri6277 8 ปีที่แล้ว

    Thanks - great video - Power Query and it unlimited possibilities

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome !

  • @imranbhatti8580
    @imranbhatti8580 3 ปีที่แล้ว +1

    Hey Mike! Nice video like always. Do you have a video on how to filter the same data set between 2 dates?

  • @abijahjumani9893
    @abijahjumani9893 4 ปีที่แล้ว

    Awesome, really helpful!

  • @drsteele4749
    @drsteele4749 8 ปีที่แล้ว

    Mike, that's awesome stuff! Very useful. I hope that one day MS creates a ribbon button or some kind of wizard that helps create parameters - it's hard for some of us to remember syntax of M code.

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว +4

      There is a Parameter button in the Power Query Ribbon Tab, but I have not learned about it yet. When I do, I will make a video.

    • @RoelStein
      @RoelStein 3 ปีที่แล้ว

      @@excelisfun Thankz for all your video’s. Great input. Did you made this video on the parameters topic? I couldn’t find it. Or was it still on the bucketlist?😉 I did find a video on the topic btw: th-cam.com/video/7TfV8qTUyfU/w-d-xo.html. Looks workable. But i must test it to compare it with your solution. So the question will be: Which one is preferable..

  • @woolly888in
    @woolly888in 3 ปีที่แล้ว

    this is really helpful, helped me to understand Power Query. using the method above, power query export your result in another workbook?

  • @dougmphilly
    @dougmphilly 2 ปีที่แล้ว +1

    omg!!! i need this

    • @excelisfun
      @excelisfun  2 ปีที่แล้ว

      Glad this helps!!!!

  • @gabrieleranucci6425
    @gabrieleranucci6425 ปีที่แล้ว

    Very helpful video!
    However I can't understand why at 12:30 you typed AndCriteria01 = ProductCriteria and then in the Filtered rows step you replaced the hardcoded value with ProductCriteria. I would've expected to replace the hardcoded valur with AndCriteria01 as you declared that variable

  • @SanthoshAkulaqv
    @SanthoshAkulaqv 4 ปีที่แล้ว

    Hi Is there any video that uses sql query to pull the data by providing multiple parameters in power query

  • @sallyg5hlee636
    @sallyg5hlee636 5 ปีที่แล้ว

    Awesome and very useful stuff going on in this video. Thank you!

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว

      You are welcome for the useful, Sally Lee : )

  • @kamranb1369
    @kamranb1369 6 ปีที่แล้ว

    Awesome video Mike, Thanks

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      You are welcome, K B!!!! Yes, it is amazing how many cool things Power Query can do : )

  • @sokgat7019
    @sokgat7019 8 ปีที่แล้ว

    Fantastic job!!! Thank you very much!!!

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome!

  • @alimed001
    @alimed001 4 ปีที่แล้ว

    Thank you so much for you help

  • @mccalabb
    @mccalabb 4 ปีที่แล้ว

    Thank you very much. This helped me alot but I cannot use this method to filter "date"

  • @DrK99999
    @DrK99999 3 ปีที่แล้ว

    Can we use list values i.e multiple values in the singke parameter value...e.g. in the example more than 1 region

  • @johanlaas3972
    @johanlaas3972 3 ปีที่แล้ว

    Thanks for the great tutorial. Is it possible to use the input value in the source line in advanced editor.
    I aim to have a date parameter used in the source line so that the SQL query specifies between which dates data needs to be downloaded. Currently the entire dataset is downloaded (which is quite large and takes time) and then only filtered. Please help!!

  • @johnborg6005
    @johnborg6005 5 ปีที่แล้ว

    Learning. :) :) thanks to you and yr channel.

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว

      You are welcome for the learning, John Borg!!!

  • @TheKashibaba
    @TheKashibaba 4 ปีที่แล้ว

    Great help for adding parameter values however i tried to set date as value to filter a row before that date parameter but it didn't work. how we can filter date rows before a certain date input through parameter? Thanks a lot.

  • @harshaladia3641
    @harshaladia3641 8 ปีที่แล้ว

    Thank you so much! Was looking for it since a long time.

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome!

  • @holgerturk4817
    @holgerturk4817 4 ปีที่แล้ว

    thank you for this tutorial

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are welcome, Holger!!

  • @jpaybstudio
    @jpaybstudio 4 ปีที่แล้ว

    do you have samples for multiple input variable for single column/ field? like a multiple select filter.

  • @jenniferzou761
    @jenniferzou761 6 ปีที่แล้ว

    very helpful!! Thanks!

  • @RobertLoPinto
    @RobertLoPinto 6 ปีที่แล้ว +1

    I am using a handcoded sql statement for my connection-only Query that gets submitted to SQL Server. I have several copies of this same query, one for each country since each country requires its own unique odbc data source (they are stored in different databases). The query has a start and end date to fetch data for a specific time frame. I use an append query to combine all of the query results into one data set and load that into the Excel data model. The challenge is everytime I edit the dates in one query I have to make the same change in all queries (to keep the dates in sync). Making matters worse, each time I make this date change the query I just edited runs for dozens of minutes since there are millions of records on the backend. Goal: Turn the date criteria in the source sql text into a reference to a start and end date on one of the Excel worksheets. This video shows brilliantly how to do that AFTER the data has been fetched as a filter. I want to dynamically change the where criteria date values in the SQL source ITSELF. I have found no solutions to this. Even if the backend used a parmetized query, how to fetch the parameter values and use them in the SQL source editor before executing the stored proc. The issue is the same. Has anyone figured out a workaround for this situation?

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      I have NO idea how to do that. That dialog box that you type the SQL in, does not allow inputs from Excel. I wonder if er could author a query in M Code (using User Interface) and then get the data that way. There are two advantages: 1) Power Query usually can send the M Code back to an SQL Database and let the optimizer in the SQL Database optimize it, and then secondly 2) you can import the dates from an Excel Sheet and use that in your M Code query. I have not tried this, but I am pretty sure it would work.

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      I just did an experiment and it seemed to work just fine; meaning: 1) I connected to an SQL Database using M Code and a filter for date (I used the User Interface to create M Code) , 2) then imported two variables from Excel, 3) Then inserted the variables into the M Code where the Between Date Criteria was, and 4) it updates just fine when I changed the inputs and refreshed. This is not to say that there might be other issues with your query in terms of speed of query, but the concept worked great : )

    • @RobertLoPinto
      @RobertLoPinto 6 ปีที่แล้ว

      ExcelIsFun Thank you for taking the time to try that out. I have a very long, complicated and well tested sequence of SQL statements using a with clause at the top to define the dates referenced throughout several sub queries. I never used M code before but hopefully I can mimic the current output I am getting. Not sure how easy it will be to debug if things go awry. With my current SQL I write and test it thoroughly in SQL Workbench first before copy/pasting it into Excel's query editor. I'll experiment with something simple first. I hope it applies the filter server side and not client side or it won't perform well. Thanks again!

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว +1

      I do not know if it applies to the filter server side or client side . If you do a test, do post back and let me know. I do not get to do a lot of connecting to SQL databases, so I am always eager to learn : )

  • @DeenQuery
    @DeenQuery 5 ปีที่แล้ว

    Brilliant 😍

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว

      Glad it is brilliant for you, Nima!!!!! Thanks for your support on each video with your comments, thumbs ups and of course your Sub : )

  • @MuhammetMustafaAslan
    @MuhammetMustafaAslan 8 ปีที่แล้ว

    Very good one, thanks.

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome! Thanks for the Thumbs Up!

  • @alrightmundehogona
    @alrightmundehogona 5 ปีที่แล้ว

    Thanks for the video, very helpful

    • @excelisfun
      @excelisfun  5 ปีที่แล้ว

      You are welcome for the video, Punith!!! Thank you very much for your support with your comment, thumbs up and Sub : )

  • @UsmcDuff
    @UsmcDuff 6 ปีที่แล้ว

    This is a great tip! Is it possible to use this same method to put a variable in the source? I have an API where the product number is what is queried at the very end of the source. If I use the api with the number typed in it pulls the information no problem, but I would like to make that a variable so I could put it in a cell and it would update the query?

  • @entertainmentgalaxy971
    @entertainmentgalaxy971 7 ปีที่แล้ว

    Beautiful... I wonder if we add unique Product and Region will it work flawlessly ?

  • @ForgottenBeastMetal
    @ForgottenBeastMetal 4 ปีที่แล้ว

    Hello that was a great video! Do you have any videos or solutions if parameters are a list and not just single value? I want my users to be able to update the parameter list themselves.
    I am trying to return true / false if a field contains any of the values in the parameter list. Thank you

  • @stephanebrizoua4954
    @stephanebrizoua4954 8 ปีที่แล้ว

    Great video again. the fact to link macro nd query it is powerful. But I am wodering, we could have created a power query function

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      We did create a Power Query Function in this video.

  • @felipevega2534
    @felipevega2534 6 ปีที่แล้ว +6

    What about numeric filters, for example dates, or days ?

    • @rachidelbargui9451
      @rachidelbargui9451 4 ปีที่แล้ว

      I am also looking to make a date filter and especially month and year like 03/2020.

  • @garethmorrall1047
    @garethmorrall1047 2 ปีที่แล้ว

    Completley new to Power Query. So could that be achieved by just having orig query producing intial table and then table slicers for product and region? Or is it always more efficient to have criteria as power query parameters

  • @amazingbandproyects3253
    @amazingbandproyects3253 3 ปีที่แล้ว

    Is it possible, use two criteria for the query? I mean, select USA and Canada on the region.

  • @syedaliraza1120
    @syedaliraza1120 6 ปีที่แล้ว +2

    Thank you for this awesome video. I wanted to know that is there a way to control a specific date range using input variables. like in this data we also have a date column. So if we want to only filter out the data which contain date range from 00/00/0000 to 00/00/0000.

  • @kennethvela2784
    @kennethvela2784 4 ปีที่แล้ว

    Isn't it much better if you use advanced filter?

  • @PedroCabraldaCamara
    @PedroCabraldaCamara 8 ปีที่แล้ว

    wow!! That was awesome!! Tks a lot

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome a lot!

  • @Mochiandginger
    @Mochiandginger 7 ปีที่แล้ว

    Do you have a video to list all the files in folder? Then the source folder can be change when new folder location is paste in a certain cell?

  • @zarkotripunovic7507
    @zarkotripunovic7507 4 ปีที่แล้ว

    Hi Mike. What if we want to see all regions for certain period whitout deleting Region Criteria?

  • @carlocalingasan998
    @carlocalingasan998 2 ปีที่แล้ว

    You don't need the 2 variable lines in the FinalReport MCode, right? I removed it and the query is still working

  • @KS-xb1xr
    @KS-xb1xr 3 ปีที่แล้ว

    Now what if i have to change something in the actual table and get the updated record later. Can we make a table behind the scene to pull records as conditioned?? A Table within excel.

  • @kamillaogjeppe1561
    @kamillaogjeppe1561 8 ปีที่แล้ว

    Is working - very nice Thanks :)

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome!

  • @AhmedAbdalalim
    @AhmedAbdalalim 4 ปีที่แล้ว

    Amazing

  • @sigogglin
    @sigogglin 5 ปีที่แล้ว +4

    Can you do multi select? Does M code have an “is in” equivalent like SQL? If I want two regions?

    • @Sivon87
      @Sivon87 4 ปีที่แล้ว

      hi, why don't u try this video? It really helps me because I had a problem with filter multi items for pivot table extracted data from power query.
      th-cam.com/video/vVQ08xfTp4Y/w-d-xo.html

  • @tjmxjulio
    @tjmxjulio 6 ปีที่แล้ว

    Hi, Thank very much for .this video. I have few time that started using power query.
    I used your example to query data, however, I would like to know how can i include a option to include all the rows. for example select: A or B or C or All.
    Once again. Muchas gracias

  • @Usman_IBI
    @Usman_IBI 6 ปีที่แล้ว

    Can we get the whole table from a couple of tables based on selection using this method?

  • @DougHExcel
    @DougHExcel 8 ปีที่แล้ว

    awesome! and without "writing" VBA too :-)

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      Glad you like it : )

  • @HumbaHarry1
    @HumbaHarry1 8 ปีที่แล้ว

    OMG, how cool is that ! That's my Boyyyyy! thx :p

    • @excelisfun
      @excelisfun  8 ปีที่แล้ว

      You are welcome! Thanks for the Thumbs Up!! : )

  • @HoppiHopp
    @HoppiHopp 7 ปีที่แล้ว

    Great video! Like so many of your's. I tried to replicate the macro recording but my excel macro recorder is not picking up the shortcut/key stroke combination. Does anybody know how to enable that feature?

  • @Sal_A
    @Sal_A 8 ปีที่แล้ว +1

    Would it be better to create the macro based on changes to either one of the drop downs, it would add more robustness?

    • @excel2473
      @excel2473 8 ปีที่แล้ว

      Exactly what i need at the moment.Does anybody know the macro to do this

    • @zm3300
      @zm3300 7 ปีที่แล้ว

      It would be an "overkill". You'd still have to pick criteria (through input box or any other mean), the updated value still has to go back to a table range so why bother?

  • @billythequick
    @billythequick 6 ปีที่แล้ว +1

    Great tutorial thanks. I need to be able to return records using wildcards (like *Bike*) rather than an exact match. Can you help?

    • @kjafar0502
      @kjafar0502 5 ปีที่แล้ว

      Hi Chris, I have the same need. Were you able to solve this and if so can you share how you implemented wildcards in your query?