The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
After upgrading Excel to version 2403 from 2402 the ability to drill through in pivot tables has been lost. When attempting to drill through the message "RETURN clause cannot be used with DRILLTHROUGH statement when a DetailRows expression is already defined on the measure...". There is no use of the DetailRows property in the model. This has occurred for myself and others.
Any help would be appreciated. Thanks.
Solved! Go to Solution.
Hi @EfRomero ,
Based on the details you have provided, it appears that this issue may be related to changes or updates in Excel version 2403 that may affect the drill-down functionality in pivot tables. Below are steps to help you resolve the issue:
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
We have the same problem with Office LTSC 2021, version 2108, build 14332.20685 (April 9, 2024).
Since I could still use both the old and new version of Excel, I traced the generated DAX-statements in DAX-Studio to compare them.
Below is an example of a generated statement by the new Excel, the blue part is new, this part was not generated by the old Excel.
DRILLTHROUGH MAXROWS 1000 SELECT FROM [Schendingen Care] WHERE (([Measures].[Aantal schendingen],[Periode].[Jaar-Maand].[Jaar].&[2024].&[December])) RETURN [$Schendingen].[Aantal],[$Schendingen].[Periodenr],[$Schendingen].[RoostergroepID],[$Schendingen].[Schendingsoort],[$Schendingen].[Schendingtype],[$Schendingen].[Schendingtype_key]
When you run this in DAX-studio it only gives the same error message if there is already a DetailRow defined in the tabular model. It looks like Excel is generating its own detailrow with all the columns from the base table. A quick fix is to remove the DetailRow from the tabular model, but that ofcourse is the last thing you want to do. It should be fixed in Excel.
Hi,
Anyone been able to fix the issue without rolling back on Excel version. We have multiple users affected here and administrator is unable to roll back to previous version.
Thanks
We are seeing this issue as well.
To add a bit more context to a possible solution. Version 2403 Build 16.0.17425.20124 is not impacted while Version 2403 Build 16.0.17425.20146 is.
Hi,
Does the solution work. the RETURN clause is being added to drill through query when trying to drill through in Excel Pivot table connected with Power BI. Does any newer version of Excel handle the drillthrough differently?
The solution did work for me because I am an administrator on my machine. The solution will not work for those individuals that are not able to rollback the Excel version because they are not admins on their machine or their employer has a policy of not allowing version rollbacks.
I am looking at other solutions that do not involve version rollbacks. I will continue this thread if I have positive results.
Hi,
Were you able to find another solution for this issue that does not involve version rollbacks? A lot of folks in our organization are not admins on their laptops and version rollback is not a viable option.
Regards,
We had to roll back to a previous version. We could not find a solution that worked without doing so. Fortunately, we caught it with only one person and 2 developers that had the auto update install the latest version. We turned off auto updates for the company to prevent this version from being applied to anyone else
Hi @EfRomero ,
Based on the details you have provided, it appears that this issue may be related to changes or updates in Excel version 2403 that may affect the drill-down functionality in pivot tables. Below are steps to help you resolve the issue:
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
42 | |
24 | |
23 | |
14 |