Select the query file to run in the Choose a Query dialog. The Choose a Query dialog displays defaulting to the Queries folder. Click the Run Saved Query button.
![]() ![]() It’s basically M code in its purest form, so you don’t have to worry about any prompts or issues. We need too perform an engine test.Sadly, we can’t access the trace log (I have no idea if it’s even available in MacOS), so we have to go back to our roots and do something similar to what Chris Webb did back in the old days (as showcased here).That’s how I modified Chris’ original code and ended up with this code:I created a query from that code and saved the file in my SharePoint so I could easily access the file from both my Mac mini and my Windows PC.The good thing about this query is that it’s not using any connectors. The engine is already there. Most of the ones that are missing are the ones related to Connectors, but there’s more than 680 functions already in MacOS just dormant in there – waiting for someone to use them.I then did a simple test refreshing a query that connected to a file on a local file inside my windows PC and it gave me an error, so I went into the connections window, change the file path to my local MacOS path and it worked.That was pretty straightforward, but what about the performance?That’s when it hit me. Most of the functions are already in there. Do A Query In Office 2016 Windows 10 Through BootI installed Windows 10 through Boot Camp, installed Office and then ran the query inside of my Windows inside my Mac mini and the average of that test was 17 seconds. Comparing Apples to ApplesWhat if I run this same test on the same hardware? I was advised to use Boot Camp to install Windows 10 and partition my hard drive so I could test the same query under the same hardware.That’s exactly what I did. Power Query version: Office Insider Fast Channel (201907)When I test this on my Windows 10 PC, I do see that my CPU is running at 100% during the whole processing of the query and the final results say this:And when I test this same query on my Mac mini, the average result that I get is this:And yes – my CPU does the same turbo boost for its processing time, but in this case it’s much faster and finishes evaluating the query in just 3 to 4 seconds.One of the key pieces of my test code is that I use a Buffer function, and when I remove that piece of my code, the comparison is much closer, but the Mac Mini still wins by up to 25% faster. CPU: Intel i5-8500B 3.00GHz, 6 cores, 6 logical processors, 9MB L3 CPU: Intel i7-7700K CPU 4 cores, 8 logical processors, 8MB L3 Is not an apples to apples comparison (pun intended), but it’s what I have, so it’ll do: Spongebob employee of the month game free download full versionI’ll be updating this post as soon as new features get added to the tool.Support for new connectors is a given. You can download my workbook from the button below and all you have to do is simply click refresh.Perform your own tests and let me know your experience! What can you expect in the future for Power Query inside Excel for Mac?Note: This is pure speculation and me guessing what things might happen, so take things with a grain of salt. Try this on your own!I highly encourage you to do this test on your own Mac computer and let me know your results in the comments section. Power Query can run faster without just throwing more resources at it, which translates into more consumer-grade computers being able to take full advantage of Power Query without being limited to processing power.We are far from seeing the best performance that Power Query can deliver. Now Power BI dataflows or Power Query Online has its own set of configurations that enable you more resources and capacity, so if I try doing this same test with dataflows, I can’t even begin to imagine how crazy fast it would be. I wish I had the answer, but I’ve contacted the MSFT folks letting them know about my findings.The reality is that I’m thrilled about this because it means that Power Query can get better. Read more here (url).Update 9-December-2019: I recently did a webinar to cover more on this topic. Right now there’s a huge dependency on having someone that has Power Query on a Windows PC so that they can create the query and the file for you, but maybe there are already some situations like that in the real world? If you’ve tried Power Query in Excel for Mac, leave you feedback in the comments below.UPDATE 2-October-2019: Power Query in Excel for Mac has hit GA. This has happened before in other Power Query integrations, and I doubt that this will be the exception.Apart from that, I really hope that they end up integrating the full query authoring experience with the full Power Query interface inside of Excel for Mac.
0 Comments
Leave a Reply. |
AuthorKelly ArchivesCategories |