Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ttinsley
Resolver I
Resolver I

Error Recieved in PBI Desktop when Right Clicking a table row with a hierarchy

When Right Clicking a table column with a hierarchy, I recieve the error below ...

 

 

JS Error Message:
Cannot read property 'getKeyColumns' of undefined

Error Message:
An error occurred while rendering the report.

Stack Trace:
Microsoft.PowerBI.Client.Windows.JavaScriptException: An error occurred while rendering the report.
TypeError: Cannot read property 'getKeyColumns' of undefined
    at getDrillthroughActionsForSection (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreActions.js:153:135)
    at DrillthroughService.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/exploreActions.js:202:30)
    at step (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbicommon.js:82:23)
    at Object.next (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbicommon.js:35:20)
    at fulfilled (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbicommon.js:13:32)
    at processQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16606:28)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16622:27
    at Scope.$eval (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17913:28)
    at Scope.$digest (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17727:31)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17952:26

1 ACCEPTED SOLUTION
ttinsley
Resolver I
Resolver I

 reviewing other tabs of my report, I found that one of them had an errant field in the "Drill Through" filter.

 

Drillthrough errors.png

View solution in original post

2 REPLIES 2
ttinsley
Resolver I
Resolver I

 reviewing other tabs of my report, I found that one of them had an errant field in the "Drill Through" filter.

 

Drillthrough errors.png

Thank you for posting this. PBI can be quite flakey, so I had assumed it was a corrupted pbix file, but after reading this post I found the same cause as you identified.

Quick note to Microsoft...it would be useful to trap and report on these errors in a more meaningful way.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.