
Short answer: To pull live TallyPrime data into Excel, enable ODBC in TallyPrime (Alt+Z: Exchange > Configure > Client/Server configuration > Enable ODBC: Yes, port 9000 by default), then in Excel use Data > Get Data > From Other Sources > From ODBC and pick the TallyODBC data source. Power BI Desktop connects the same way through its ODBC connector. TallyPrime must be running with the company open, and TallyPrime, Windows and Office or Power BI must all be the same bitness, usually 64-bit.
Why connect Tally to Excel or Power BI at all
Most accountants already export reports from TallyPrime to Excel. The problem is that an export is a snapshot. Next week someone exports again, pastes it over last week’s sheet and hopes the formulas still line up. ODBC replaces that with a live connection. Your Excel workbook or Power BI report reads directly from the company loaded in TallyPrime and refreshes when you ask it to, or on a timer.
This suits management dashboards, lender reports, branch reviews and any sheet your CA or finance head rebuilds every month. It does not replace TallyPrime’s own reports for statutory work.
Step 1: Enable ODBC in TallyPrime
These steps follow Tally’s own help page (TallyHelp: extract data to MS Excel using ODBC, updated 6 November 2026).
- Open TallyPrime and load the company.
- Press Alt+Z (Exchange) > Configure.
- Under Data Synchronisation, select Client/Server configuration.
- Set Enable ODBC to Yes and check the port. The default is 9000.
- Save. If TallyPrime asks to restart, let it.
To confirm it is working, open Alt+F1 (Help) > About and look at Client/Server and ODBC Services. It should show ODBC running on the port you set.
Step 2: Connect from Excel
- In Excel, go to Data > Get Data > From Other Sources > From ODBC.
- Select TallyODBC64_9000 (the number matches your port) and click OK.
- In the Navigator, open the company name and pick a table, for example Ledger or Stock Item. Tick Select multiple items if you want more than one.
- Click Transform Data. In the Power Query Editor, keep the columns you need and remove the rest.
- Click Close & Load To and choose where the table goes.
To refresh automatically, go to Data > Refresh All > Connection Properties and set Refresh every to the number of minutes you want. Tally’s help page describes this exact setting.
Using a query instead of a whole table
For a smaller, faster pull, the advanced options in Excel’s ODBC dialog accept an SQL statement. Tally’s ODBC uses its own method names with a $ prefix. For example:
SELECT $Name, $Parent, $ClosingBalance FROM Ledger
This brings in only the name, group and closing balance of each ledger. Start simple and add fields once the basic query works.
Step 3: Connect from Power BI
Power BI Desktop has a standard ODBC connector (Microsoft: ODBC connector).
- In Power BI Desktop, choose Get Data > ODBC.
- Pick the TallyODBC data source name.
- Select the tables or enter a query, then load or transform as you would any other source.
Power BI Desktop refreshes when you click Refresh on a computer where TallyPrime is open. If you publish the report to the Power BI service and want scheduled refresh, the service cannot reach TallyPrime on its own. You need Microsoft’s on-premises data gateway installed on a machine that can connect to the TallyPrime instance, and TallyPrime has to be running with the company loaded at refresh time.
What you can and cannot get through ODBC
Out of the box, ODBC gives you master data such as ledgers, groups and stock items, with balances. That is enough for a receivables list, a stock position or a trial-balance style dashboard.
Voucher-level data, such as every sales invoice line with its salesperson and branch, usually needs a small customisation. A TDL developer can define a collection in TallyPrime and expose it as an ODBC table, so Excel or Power BI sees it like any other table. This is also how data from your own custom fields reaches a dashboard. Our report customisation work often includes this step.
Common errors and fixes
| Error or symptom | Cause | Fix |
|---|---|---|
| “Data Source Name not found” | The ODBC port is not configured, or another application is using it (TallyHelp) | Run TallyPrime as administrator, then set the port in Alt+F1 (Help) > About > Client/Server and ODBC Services |
| “Client without ODBC” on the About screen | The port you entered is already in use | Enter a different port number and restart TallyPrime |
| Excel cannot see TallyODBC at all | Bitness mismatch between TallyPrime, Windows and Office | Use the same bitness for all three. A 64-bit TallyPrime needs 64-bit Office |
| Connection works, then fails later | TallyPrime was closed, or a different company was loaded | Keep TallyPrime open with the right company loaded whenever the workbook refreshes |
| Refresh is very slow | Pulling whole tables with every column | Use a query with only the fields you need, and filter in TallyPrime where you can |
ODBC, XML or API integration: which to use
- ODBC is best for reading data into Excel or Power BI for reporting. It is quick to set up and needs no code for master data.
- XML over HTTP, on the same port, is how other software sends data into TallyPrime or requests specific reports. We compare the options in Tally API vs XML import.
- A full integration makes sense when a website, CRM or ERP needs to create vouchers in Tally automatically. See our TallyPrime API integration service.
Security points before you switch it on
- Anyone who can reach the ODBC port on that computer can read the loaded company’s data through it. Keep it on a trusted network, and do not open the port to the internet.
- Share the Excel file or Power BI report, not the connection, with people who only need to see results.
- If your TallyPrime runs on a cloud server, agree with your provider how the gateway or connection is secured. Our Tally on Cloud page explains how remote access is set up.
FAQ
How do I enable ODBC in TallyPrime?
Press Alt+Z (Exchange) > Configure, open Client/Server configuration under Data Synchronisation, and set Enable ODBC to Yes. The default port is 9000.
Can I connect Tally to Power BI?
Yes. Use the ODBC connector in Power BI Desktop and pick the TallyODBC data source. Scheduled refresh in the Power BI service needs an on-premises data gateway, and TallyPrime must be running with the company loaded.
Does the Excel sheet update automatically?
It can. Set Refresh every in Excel’s Connection Properties, and keep TallyPrime open with the company loaded.
Why does Excel not show the TallyODBC driver?
Usually because TallyPrime, Windows and Office are not the same bitness. All three need to match.
Can I get voucher data through ODBC?
Master data is available directly. For voucher-level data, a TDL developer can expose a custom collection as an ODBC table.
Need voucher-level data in your dashboard?
Tally Experts sets up ODBC connections and the TDL needed to expose transaction data to Excel and Power BI. Book a free consultation and tell us what your dashboard needs to show.
Want our TallyPrime tips in Google first? Add us as a preferred source.

