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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SriKandimalla
Helper I
Helper I

How to export Error Query into Excel

Hello PBI Community,

 

I have few queries and when I tried to "Close&Apply" there were few error rows and I clicked "See errors". So, we can see the errors in a new query generated by Power BI and called as Errors in "TABLENAME".

 

Now, my question is, Is there a way to export that into excel or csv?

Thanks in Advance. As always I appreciate your help

 

2 ACCEPTED SOLUTIONS
v-diye-msft
Community Support
Community Support

Hi @SriKandimalla 

 

Here is one solution:

https://community.powerbi.com/t5/Desktop/Export-to-csv-from-Power-Query/td-p/193423

 

The other method would be to insert an R script step in your query to do the output.

 

 

Community Support Team _ Dina Ye
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

Anonymous
Not applicable

@SriKandimalla 

You can use this to export as CSV with R scrhipt 

# 'dataset' holds the input data for this script
write.csv(dataset, "C:\\Users\\user\\Desktop\\test\\test.CSV")


write.csv(dataset, "Destination\\test.CSV")

 
May the BI force be with you! If this post helps, then please consider Accept it as the solution to help the other members find it more quickly! Thanks!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@SriKandimalla 

You can use this to export as CSV with R scrhipt 

# 'dataset' holds the input data for this script
write.csv(dataset, "C:\\Users\\user\\Desktop\\test\\test.CSV")


write.csv(dataset, "Destination\\test.CSV")

 
May the BI force be with you! If this post helps, then please consider Accept it as the solution to help the other members find it more quickly! Thanks!
v-diye-msft
Community Support
Community Support

Hi @SriKandimalla 

 

Here is one solution:

https://community.powerbi.com/t5/Desktop/Export-to-csv-from-Power-Query/td-p/193423

 

The other method would be to insert an R script step in your query to do the output.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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