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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
pvaldiviag
New Member

Problem with Quick Calc / "Cannot read property 'key' of undefined"

Hello everyone,

I'm having trouble with the quick calc feature that was introduced back in May. When I first downloaded that update the quick calc option worked normally, I made some sick visuals thanks to it. Now whenever I try to make a Quick Calc (Percentage of grand total) I get the following error after copying the details of the unexpected error:

 

"Cannot read property 'key' of undefined"

 

I tried copying my pbix file and testing it in a differente computer but still the same problem. Tried building the model again in a new pbix file but the problem is still there. Now I can't even make the Percentage of Grand Total to tables that already had that value.

 

What could be the problem? Thanks guys.

 

 

1 ACCEPTED SOLUTION

After PROPERLY unninstalling and installing again the quick calc works again. 

Remember folks, unninstall, restart and install again.

 

Thanks!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi pvaldiviag,

 

>>Now I can't even make the Percentage of Grand Total to tables that already had that value.

 

I can’t reproduce your issue, it works on myside, could you please provide more detail info about this?(e.g. screenshots, test pbix file, the version of your power bi desktop, etc.…)

 

Below is my test file (I build a simple table and active the ‘quick cal’ function on amount column)

Screenshots:

Capture3.PNG

Capture.PNG

Power Bi Desktop Version:

Capture2.PNG

 

Regards,

Xiaoxin Sheng

Hey @Anonymous

Looks like you are trying to reproduce the steps with a regular value. I'm trying to do it with a calculated metric and this has worked for me before.

Also, the quick calc form is different when you use it on a measure.

Example

With a measure

 

 

Ventas = CALCULATE(SUM(Metricas[Monto]),'Terminos Financieros'[TF_id]=25)

error pb1.PNG

 

With a regular value

error bp2.PNG

 

EXAMPLE when it was working:

expb.PNG

POWERBI Version

versionpb.PNG

If you need more information please let me know.

 

Thanks in advance

 

After PROPERLY unninstalling and installing again the quick calc works again. 

Remember folks, unninstall, restart and install again.

 

Thanks!

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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