Forum Discussion
Aakriti_5457
Jun 13, 2023Copper Contributor
Gaps in request during execution of Excel Macro Report from KYVOS OLAP cube using Analytics Service
I encountered following problem while performing a comparison activity of executing Excel Macro on OLAP cubes in KYVOS and SSAS, using Analysis Services Driver in Excel. There is significan...
Aakriti_5457
Copper Contributor
hi NikolinoDE , Thanks for responding.
We have tried all the suggested request and I'm from Kyvos Expert team . The OLAP cube which I'm querying is also optimized and I'm using same macro with the cube on both platform.
So, it might be a issue related to excel .Can you pls suggest anything related to that.
We have tried all the suggested request and I'm from Kyvos Expert team . The OLAP cube which I'm querying is also optimized and I'm using same macro with the cube on both platform.
So, it might be a issue related to excel .Can you pls suggest anything related to that.
NikolinoDE
Jun 13, 2023Gold Contributor
If you have already optimized the OLAP cube and confirmed that the issue is specific to Excel, here are a few suggestions to address the issue:
- Excel Version: Ensure that you are using the latest version of Excel, as newer versions often include performance improvements and bug fixes. If you are not already using the latest version, consider updating Excel to see if it resolves the issue.
- Excel Add-ins: Check if there are any unnecessary or conflicting Excel add-ins installed. Sometimes, certain add-ins can impact the performance of Excel. Disable any add-ins that are not required for your analysis and see if it improves the execution time of the Macro.
- Calculation Options: Excel has different calculation options that can affect the performance of formulas and macros. Make sure you have the appropriate calculation option selected for your needs. You can access these options by going to the Excel Options menu and navigating to the Formulas or Calculation section.
- File Size and Formatting: Large file sizes and complex formatting, such as excessive conditional formatting, charts, or linked objects, can slow down the performance of Excel. Try to minimize the file size and simplify the formatting, especially in areas where the Macro interacts with the data.
- Macro Optimization: Review your Macro code and ensure that it is efficient and optimized. Avoid unnecessary calculations, iterations, or resource-intensive operations within the Macro. Consider optimizing loops, using efficient data structures, and reducing redundant calculations to improve the overall performance.
- Memory Management: Excel's performance can be impacted by the available memory on your computer. Ensure that you have enough free memory for Excel to operate smoothly. Close any unnecessary applications or processes that may be consuming memory. You can also try increasing the available memory for Excel in the Excel Options menu under Advanced settings.
- Hardware and Resources: If possible, try running the Excel Macro on a different computer with higher system specifications. This can help determine if the issue is related to hardware limitations or resource constraints on the current computer.
- Reinstall Excel: If none of the above suggestions work, you can try reinstalling Excel. This can help resolve any potential issues with the Excel installation that may be affecting its performance.
Maybe this steps helps…what I hope 🙂
- Aakriti_5457Jun 19, 2023Copper ContributorThanks for your recommendations and we have checked all the above points .
We have also tried with the latest Excel version but still facing same difference even the driver used for connecting the both SSAS and Kyvos cube is same . Executed same pivot with macro on both the cubes but observing different behavior.
Does it require in any change code to handle this difference and make behavior similar to SSAS if yes then pls suggest . What would be the appropriate changes.
Again coping same details for your quick reference :
There is significant difference in Excel Macro report execution time between the KYVOS and SSAS cubes. Further investigation revealed that there are some gaps in the request flow from Excel when communicating with the KYVOS cube, which are not present when interacting with the SSAS cube using same report with Marco. I also examined the response size and number of requests, but it did not explain the observed time difference.