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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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