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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Viniciussouza
Frequent Visitor

Erro power query

Ao clicar em transformar dados identifiquei que existe uma mensagem de erro "Erros na Consulta - 22/11/2023 06:16:58" informando que o erro estaria na base de dados PRODUTIVOS "Erros em PRODUTIVO". Pequisando em alguns foruns verifiquei que o erro deveria está com a identificação vermelha na consulta, porém não consigo localizar a identificação do erro. 

 

Erro.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Viniciussouza 

 

The "Error in Query" message indicates that there is a problem with the data or query step you are trying to transform. Try the following to troubleshoot errors:

 

Check for any red text or error icons in the Data Preview column.

 

In the Applied steps pane, look for any error indicators next to the step name.
Click step by step to determine in which step the error occurred.

 

Click Advanced Editor to view the M-code for the query. Review the code to identify potential sources of error.

 

Consider using an error handler such as "Try... otherwise" to catch and manage errors.

 

In some cases, checking the error log can give you more details. This can be done in the Diagnostic Tools tab of Power BI Desktop.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Viniciussouza 

 

The "Error in Query" message indicates that there is a problem with the data or query step you are trying to transform. Try the following to troubleshoot errors:

 

Check for any red text or error icons in the Data Preview column.

 

In the Applied steps pane, look for any error indicators next to the step name.
Click step by step to determine in which step the error occurred.

 

Click Advanced Editor to view the M-code for the query. Review the code to identify potential sources of error.

 

Consider using an error handler such as "Try... otherwise" to catch and manage errors.

 

In some cases, checking the error log can give you more details. This can be done in the Diagnostic Tools tab of Power BI Desktop.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.