Skip to main content

Power BI

Needs Votes

Improve performance of MDX queries using Analyze in Excel

Vote (392) Share
Marco Russo's profile image

Marco Russo on 04 Jan 2020 17:08:41

When you use Analyze in Excel, MDX queries are sent to the Power BI dataset. If you have a PivotTable with 10 measures, the performance is usually slower compared to a similar Matrix in Power BI with the same content. Power BI generates DAX queries.
One of the reasons why this difference exists is that the DAX query is optimized using a process called "fusion", which includes in a single storage engine request the aggregations required for multiple measures, whereas this feature has not been implemented for MDX queries.
Implementing fusion for MDX queries would dramatically improve the performance of many pivot tables in Excel where there are many measures in the same pivot table.

Comments (25)
Marco Russo's profile image Profile Picture

b3c8ec02 82c6-ea11-a812-000d3a579c39 on 15 Jul 2020 10:07:32

RE: Improve performance of MDX queries using Analyze in Excel

We just encountered the same perf problems after deciding that we should try transitioning to tabular from multidim. Excel pivot tables are our main client to access our cubes, and the poor performances when querying tabular models might just completely stop us from taking this step forward. Native DAX support from Excel is really needed!

Marco Russo's profile image Profile Picture

28f3e294 bc2e-485d-b736-d7cdb08d7207 on 10 Jul 2020 17:20:59

RE: Improve performance of MDX queries using Analyze in Excel

Power BI is good, but still a lot of users love excel pivot services.
So why not support DAX for pivot services to improve the query performance. The MDX is really performance killer for tabular cube if the dimension is large.

Marco Russo's profile image Profile Picture

a9dc316c bb64-4b10-a43f-c0f93a0b789b on 06 Jul 2020 00:17:51

RE: Improve performance of MDX queries using Analyze in Excel

I noticed a new flag in the advanced options on my azure analysis services instance called "OLAP \ Query \ MdxFusionOptimizations" . Seems like Microsoft is working on something behind the scenes. Very curious to understand when this entire feature is going to see the light.

Marco Russo's profile image Profile Picture

bad799ac deb2-4759-86f6-4a53d678154b on 06 Jul 2020 00:16:26

RE: Improve performance of MDX queries using Analyze in Excel

I agree. It is almost impossible to use Excel with a bigger tabular model. A query running in PowerBi less than 10 seconds takes almost 5 minutes to complete via Excel. Microsoft please implement a native DAX support as soon as possible!

Marco Russo's profile image Profile Picture

9a5d58f7 e5f2-4627-9e4b-98c51b5c9b66 on 06 Jul 2020 00:15:26

RE: Improve performance of MDX queries using Analyze in Excel

Also take into account that every time you use Grand Totals in Excel, MDX queries are being generated with crossjoins which causes the performance of the queries to be quite poor specially when using attributes from 2 large dimensions, such as Customers and Products for example. It would help a lot having a DAX generator on the Excel side and depending on the Analysis Services (OLAP vs Tabular) use one or the other to keep compatibility.

Marco Russo's profile image Profile Picture

0ea74106 20f4-4649-8d2b-75a1d8c1d9ef on 06 Jul 2020 00:15:08

RE: Improve performance of MDX queries using Analyze in Excel

Please improve, we are struggling at The Coca-Cola Company with the query engines, response, and error codes. Many tickets with the MS team. Many business folks use Excel and native BI is simpliy not the answer.

Marco Russo's profile image Profile Picture

894eaae9 6cee-4b28-a3e8-cc4eadd76592 on 06 Jul 2020 00:14:58

RE: Improve performance of MDX queries using Analyze in Excel

This is an imp update needed

Marco Russo's profile image Profile Picture

34212246 cee5-48f1-9ebb-bbb080e10e57 on 06 Jul 2020 00:12:55

RE: Improve performance of MDX queries using Analyze in Excel

I had to retrieve table from SSAS model using EVALUATE statement into local instance (Excel, Power BI Desktop). On 500K table, it took 1 minute in Power BI and 30 min in Excel to retrieve it. Native support of DAX in Excel is a must.

Marco Russo's profile image Profile Picture

8dc2751c 0024-4079-b82f-4bd3a188218f on 06 Jul 2020 00:12:13

RE: Improve performance of MDX queries using Analyze in Excel

jwje

Marco Russo's profile image Profile Picture

a84e5dc6 ca91-4d09-a606-7f65eec3c092 on 06 Jul 2020 00:10:38

RE: Improve performance of MDX queries using Analyze in Excel

Registered Passport,(BACKUPDOCS.COM) Driver License, ID Card, English Certificates, Resident Permit & VISA
Welcome to Backup Document Services, premier solution to all your document problems. We strive to excel and exceed your expectations and we make sure your information is 100% SECURITY is guaranteed as we encrypt all client information safe in the data cloud. Our documents are printed with standardized machines, using advance techniques, with security threats and holograms clearly inserted. Dual Citizenship for sale, fake ID card for sale, Buy passport online, buy Diplomatic passport, buy real and fake passport online.

https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
Backup Fake Documents Online
PASSPORTS DELIVERED
Affordable, Discreet, Superior Quality And Unbeatable Service.
Buy Second Passport, ID and Documents Online

We guarantee you a New Identity starting from a clean new Genuine and novelty Birth Certificate, novelty ID card, novelty Driving Licence , Novelty Passport, Social security card with SSN, novelty school diplomas, school degrees and Bank Statements all in an entirely NEW NAME issued and registered in the government database system so you can travel with no problem across security borders .
https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
https://backupdocs.com
Buy Diplomatic Passports online | Fake Passport for sale, Buy Registered and Unregistered Passport Online

CAN I GET A PASSPORT WITH THE SAME INFO AS THE OLD/LOST PASSPORT?
WHAT IS YOUR RETURN/REFUND POLICY
WHICH COUNTRY IS THE BEST FOR SECOND PASSPORT?
WHAT IF MY BACKUP DOCUMENT EXPIRES, HOW CAN I RENEW IT?

Place your order now. Check our price list on our service page and when you’re ready to order, simply get a quote. After fixing your invoice, we’ll need documentation infovia email for the supossed paperwork. How to order Fake drivers license, Fake Passport, Fake ID card,