You need to sign in to do that
Don't have an account?

Help Needed : Export data in excel or csv
Hi,
I am new to Apex and SOQL. I tried creating the nested query in workbench and it works fine and return 80K rows. Below is the query
I want to export the data to excel or csv that is coming from this query.(80K rows)
Thanks.
I am new to Apex and SOQL. I tried creating the nested query in workbench and it works fine and return 80K rows. Below is the query
SELECT ID,name,region__c, tracker__c, (select id,Account__r.name,product__c from product_account__r), (select year__c from product_year__r) FROM tracker__cMy issue is how do I export this in excel or csv. I read blog and it was mentioned that we need to write a code. Could someone please help me here.
I want to export the data to excel or csv that is coming from this query.(80K rows)
Thanks.
Hi Richa,
Are you really talking about the workbench according to my knowledge workbench doesn't support to nested query?
And workbench provides the functionality where you can easily export the result in bulk csv, Please see in screen shot.
Please use salesforce Export to CSV extension using this we can Export Data.
More info : https://chrome.google.com/webstore/detail/sdfc-dev-console-data-exp/mfcddagpdnfokfnbnoeephmfoifgdbid
Add above extension to chrome.
Hope this helps.
please check once and let me know if any help need.
Thanks
Varaprasad.
Thanks
Varaprasad
I added this to chrome. I am not able to find on the dev console. I dont see the icon on dev console window.
InvalidJob: Unable to find object:tracker__c
Divide query into to parts like
Ex : 1. select id,name from account limit 40000
2. select id,name from account offset 40000 limit 40000
Hope this helps.
please check once and let me know if ny help needed.
Thanks
Varaprasad
Hi Richa,
Bulk queries only support the simple queries and it's not supported nested SOQL which is the reason you are getting this error..
Read here (https://skyvia.com/data-integration/salesforce-data-loader)