The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Recently our team came accross a probably wide know issue: Users connecting against Power BI sementic model with Excel shooting mdx queries on it experience slow performance.
In our case it was even worse: We get an error "10 GB Limit" is reached and no result came back.
In this post i will show you our investigation process, which finally resolved the issue as we found the route cause at an area we never would have expect it. Worth to mention that the error came up suddently and did not exists for months. So there might be some issues with Power BI or Excel version, which made the error happen.
First some information:
Of course we wondered ourselves as the issue came up more or less from one day to another. More and more users got the error.
Finally one of my developer collegues discovered that reports work most of the time just fine - still to be tested - if you turn off the retrival of formats from the server for the pivot table:
I remembered that i had once the same issue with dynamic format strings. They would also corrupt you excel pivot analysis.
Therefore i created a dataset which turns the format of all measures to "General", so no format string can be found in the TOM.
And this really helps! The reports work. And executing the MDX queries wit SSMS omitting the "Cell Properties - Format String" in the query runs in few seconds.
As the Format strings seems to be retrieved for each cell in excel it is causing an issue approx. up from December 2024. Setting all measures to have no format string available seems to be a workaround.
We did not test all the excel based reports yet. Excessive usage of hierarchies, the MDX "drill down member" as well as cardinality of dimension play a role. But the format string might be an issue we would have never thought of directly. Therefore i want to share this here.
Are there more people facing similar issues?
What did helped in your case?
I would be glad if there are people with some other ideas. I will come back after we tested setting format to general for measures with more reports.
Solved! Go to Solution.
Hi @Thias ,
Thank you for the follow-up, and sorry to hear that you're still experiencing the issue. Here are a few workarounds that you can try (some of which you already did):
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
Keep in mind that Power BI Semantic Models are SSAS Tabular. They do not speak MDX natively. You will get much better performance with DAX.
Fair point. Therefore we motivated Excel Users to use insert table or Power BI Export to Excel --> summarize. Of course we build up Power BI reports step by step. Nevertheless a lot of users will still use Excel Pivot tables in their daily business and won't use Power BI from next day on. My silent hope would be that Excel Pivot tables learn to speak DAX. 🤔
Hi @Thias ,
We would like to follow up to see if the solution provided by the super user @lbendlin resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
B Manikanteswara Reddy
Hi,
no the issue is not resolved. For some reasons format strings started to slow down the MDX queries Excel Pivot tables send to SSAS Tabular. The workaround to set all format strings to "General" in SSAS Tabular is only a workaround. It worked fine until end of last year, so would be happy to know why this occured suddently.
Hi @Thias ,
Thank you for the follow-up, and sorry to hear that you're still experiencing the issue. Here are a few workarounds that you can try (some of which you already did):
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
Hi @Thias ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
B Manikanteswara Reddy
Hi,
thank you for reaching out. As you listed the solutions i provided, feel free to accept them as solution.
Hi @Thias ,
Thank you for your support and confirmation!
Glad the solutions were helpful. I've gone ahead and marked your response as the accepted solution. Appreciate you taking the time to follow up ,it really helps the community!
Best regards,
B Manikanteswara Reddy