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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Luis_Caston
Helper III
Helper III

Excel Power BI insert table failing with a request to "restart the app

Dear all.

 

I'm importing tables from Power BI to Excel but I don´t know why I'm obtaining the next error:

 

Luis_Caston_0-1730286599434.png

I've done:

 

  1. Restart my computer.
  2. Try to new excels completely empty.
  3. I've removed and add again COM Complements:
    1. Luis_Caston_1-1730286683463.png

       

But no way. Do you know why?

9 REPLIES 9
lbendlin
Super User
Super User

The DAX makes little sense.  You are summarizing by columns that you are also aggregating, specifically  Orden and Orden2.  Why would you do that?

Anonymous
Not applicable

Hi @Luis_Caston ,

 

I agree with your point. When the number of bytes exceeds a threshold, it may cause this error.

I found a similar post.

https://community.fabric.microsoft.com/t5/Power-Query/Excel-Power-BI-insert-table-failing-with-a-req...

Hope it helps.

 

Best Regards,

Wearsky

Anonymous
Not applicable

Hi @Luis_Caston ,

 

I cannot reproduce the issue. Could you please check these prerequisites?

vxiaocliumsft_0-1730343993071.png

https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-connect-excel-power-bi-datasets...

 

Best Regards,

Wearsky

Hi!

Yes, my verion is over:

Luis_Caston_0-1730363098017.png

 

lbendlin
Super User
Super User

Are you trying to do this from within DAX Studio?

 

Hi!
I've tryed from all...

Luis_Caston_1-1730363184888.png

Luis_Caston_2-1730363220414.png


I've been able to charge the table on this way but I think the problem comes from the resources, that is to say, the table has columns with calculated fields I think that consumes all the resources and stops.
I don´t know exactly the bytes but I've tryed removing two columns and have charged the rest of the table.

Are you sure it's the columns?  Your Excel file can have 16K columns (not saying that it should, but that's your limit).  Maybe the query returns too many rows, beyond 1 million?

Hi!
Yes is due to the columns and rows are 500 more or less (a few).
Removing this tree works:

Luis_Caston_0-1730370722897.png

 

Besides I've tried adding only this three alones and have 300 rows.

Checking the connection I've two "identical" tables one in Spanish and another one in English.

This is the code of the connection at Excel of the English table where I've problems:

 

DEFINE
VAR __DS0Core =
SUMMARIZECOLUMNS(
'dim_pyg_analitica_ingles'[NumFila1],
'dim_pyg_analitica_ingles'[Nivel1],
'dim_pyg_analitica_ingles'[NumFila2],
'dim_pyg_analitica_ingles'[Nivel2],
'dim_pyg_analitica_ingles'[Orden2],
'dim_pyg_analitica_ingles'[NumFila3],
'dim_pyg_analitica_ingles'[Nivel3],
'dim_pyg_analitica_ingles'[NumFilaX],
'dim_pyg_analitica_ingles'[NivelXEsquema],
'dim_pyg_analitica_ingles'[Esquema],
'dim_pyg_analitica_ingles'[CodCuenta-Descripción],
'dim_pyg_analitica_ingles'[CodCuenta],
'dim_pyg_analitica_ingles'[Level2],
'dim_pyg_analitica_ingles'[Level3],
'dim_pyg_analitica_ingles'[Level4],
'dim_pyg_analitica_ingles'[Level5],
'dim_pyg_analitica_ingles'[Level6],
'dim_pyg_analitica_ingles'[OrdenOK],
'dim_pyg_analitica_ingles'[Nivel3OK],
'dim_pyg_analitica_ingles'[Orden],
'dim_pyg_analitica_ingles'[Clasificación],
'dim_pyg_analitica_ingles'[Custom],
"SumOrden1", CALCULATE(SUM('dim_pyg_analitica_ingles'[Orden1])),
"SumOrden2", CALCULATE(SUM('dim_pyg_analitica_ingles'[Orden2])),
"SumOrden3", CALCULATE(SUM('dim_pyg_analitica_ingles'[Orden3])),
"SumOrdenX", CALCULATE(SUM('dim_pyg_analitica_ingles'[OrdenX])),
"SumSigno", CALCULATE(SUM('dim_pyg_analitica_ingles'[Signo])),
"SumOrden", CALCULATE(SUM('dim_pyg_analitica_ingles'[Orden]))
)

VAR __DS0BodyLimited =
TOPN(
500000,
__DS0Core,
'dim_pyg_analitica_ingles'[NumFila1],
1,
'dim_pyg_analitica_ingles'[Nivel1],
1,
'dim_pyg_analitica_ingles'[NumFila2],
1,
'dim_pyg_analitica_ingles'[Orden2],
1,
'dim_pyg_analitica_ingles'[Nivel2],
1,
'dim_pyg_analitica_ingles'[NumFila3],
1,
'dim_pyg_analitica_ingles'[Nivel3],
1,
'dim_pyg_analitica_ingles'[NumFilaX],
1,
'dim_pyg_analitica_ingles'[NivelXEsquema],
1,
'dim_pyg_analitica_ingles'[Esquema],
1,
'dim_pyg_analitica_ingles'[CodCuenta-Descripción],
1,
'dim_pyg_analitica_ingles'[CodCuenta],
1,
'dim_pyg_analitica_ingles'[Level2],
1,
'dim_pyg_analitica_ingles'[Level3],
1,
'dim_pyg_analitica_ingles'[Level4],
1,
'dim_pyg_analitica_ingles'[Level5],
1,
'dim_pyg_analitica_ingles'[Level6],
1,
'dim_pyg_analitica_ingles'[OrdenOK],
1,
'dim_pyg_analitica_ingles'[Orden],
1,
'dim_pyg_analitica_ingles'[Nivel3OK],
1,
'dim_pyg_analitica_ingles'[Clasificación],
1,
'dim_pyg_analitica_ingles'[Custom],
1
)

EVALUATE
__DS0BodyLimited

ORDER BY
'dim_pyg_analitica_ingles'[NumFila1],
'dim_pyg_analitica_ingles'[Nivel1],
'dim_pyg_analitica_ingles'[NumFila2],
'dim_pyg_analitica_ingles'[Orden2],
'dim_pyg_analitica_ingles'[Nivel2],
'dim_pyg_analitica_ingles'[NumFila3],
'dim_pyg_analitica_ingles'[Nivel3],
'dim_pyg_analitica_ingles'[NumFilaX],
'dim_pyg_analitica_ingles'[NivelXEsquema],
'dim_pyg_analitica_ingles'[Esquema],
'dim_pyg_analitica_ingles'[CodCuenta-Descripción],
'dim_pyg_analitica_ingles'[CodCuenta],
'dim_pyg_analitica_ingles'[Level2],
'dim_pyg_analitica_ingles'[Level3],
'dim_pyg_analitica_ingles'[Level4],
'dim_pyg_analitica_ingles'[Level5],
'dim_pyg_analitica_ingles'[Level6],
'dim_pyg_analitica_ingles'[OrdenOK],
'dim_pyg_analitica_ingles'[Orden],
'dim_pyg_analitica_ingles'[Nivel3OK],
'dim_pyg_analitica_ingles'[Clasificación],
'dim_pyg_analitica_ingles'[Custom]

 

 

Then only difference with the Spanish table that charges withoutp problems are those columns:

Sum of the top and the cheks orden.

 

I think those columns are collapsing the query.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors