Marg Data Guides

Marg Data in Power BI: Load CSV and JSON Files Pick a format, fix the dates and combine many companies

Leena Taylor Paul By Updated October 12, 2026 8 min read
Quick Answer

No Power BI connector exists for Marg's table files.

Export the company as CSV for flat tables or as a single JSON file, then load the result with Get Data. Use the Folder connector for many companies and set the locale on date columns. Keep company and year in every join key and compare one total with a printed report.

A dashboard needs flat tables and Marg gives you printed reports, and the gap between the two is where most analysts lose a week. Files are the bridge. A few Power Query settings then decide whether the numbers tie or whether you spend Friday afternoon hunting for a date that flipped.

Who Builds Dashboards from Marg Books?

Native linkNone for Marg tables
Flat filesCSV
Single fileJSON
RefreshExport again

Choose the line that sounds like your job.

Marg is strong at day-to-day entry and printed reports, but dashboards are a different job. They need flat tables that a model can join. The route below turns a company into files that Power BI already understands and then joins them without a mismatch.

Why Does Marg Data Not Load into Power BI Directly?

Marg keeps each table in its own file inside the Data folder, and Power BI has no connector for them. The usual fallback is the report export, but a Techjockey user thread says Marg sends a single report to Excel per run. A year of analysis then means dozens of runs and a pile of workbooks to stitch.

Limitations of the report route: one report per run, a layout shaped by the report and not by the data and no way to include deleted records.

The practical answer is to stop looking for a connector and write the whole company to a format the tool already reads. Our guide on exporting Marg data to Excel covers the workbook route.

Which Suits Marg Data Better: CSV or JSON?

Both work. They differ in shape, and the converter can produce both from one company, so test each on the same data and stay with the one that suits you.

Which one? CSV when you want the shortest Power Query, JSON when one file per company should hold every table. Unsure? Begin with CSV and switch later, since the data inside is the same.

CSVJSON
ShapeOne flat file per tableNested records in a file
Power BI stepGet Data, Text/CSVGet Data, JSON, then expand
ReworkSet types and localeExpand records and lists
Best forMost dashboardsScripts and databases
Many filesFolder connectorOne file at a time

Microsoft documents both paths. The text and CSV import page covers the first and the structured column page covers expanding records, lists and tables.

How to Load Marg Data into Power BI Step by Step

  1. Export the companyProduce CSV when you want flat tables. Produce JSON when you want a single file. Use a date filter when you only need one year.
  2. Open Power BI DesktopStart a blank report and open Get Data. Use Text/CSV for a single file. Use JSON for the JSON file. Use Folder when you have many files.
  3. Filter to one tableIn a folder list, keep only the file names for the table you want. Then choose Combine and Transform Data.
  4. Fix the column typesSet the date column with the right locale. Set amounts to decimal numbers and keep codes as text.
  5. Add company and year to the keyThe same code can repeat across companies. Keep the file or folder name and use it in every join.
  6. Relate the tables and check one totalJoin ledger entries to accounts. Compare one month with a printed Marg report before you publish.
Export window with save options Invoices as PDF, Everything in Excel, CSV files, JSON data, Ledger statements and Day book
CSV files and JSON data are two of the save options on the export window.
Look at your first file before you build

Note: we have not fixed one layout for every export. Open the first CSV in a text editor and note the date order and the delimiter, then set the locale and types once and reuse the query for every file.

An analyst loads Marg CSV and JSON exports into Power BI to build a business dashboard.
Example dashboard: check date formats first, then combine the company and year exports you need.

How Do You Combine Many Marg Companies or Years?

Put each export in a folder and point the Folder connector at the parent. Microsoft's folder import page explains the Combine step and says the files must share column headers, which is the one rule that breaks most combines.

StepWhat to doWhy
FilterKeep file names for one tableCombine needs identical headers
TagKeep the source name as a columnCodes can repeat between companies
TypeApply one locale to datesDay-first dates read wrongly otherwise
JoinUse company and code togetherAvoids mixing two companies

If dates look swapped, set the locale on the column. Microsoft shows how on its locale page. If special characters look broken, read the UTF-8 note.

Write CSV and JSON from the Data folder

Univik Marg Data Converter turns a company into plain tables that a model can join. Date and voucher filters apply to them.

Group totals equalled the sum of group month postings in 100% of our test rows, across month balance tables of 1,241, 4,313 and 33,261 rows in three real companies. That last one is the size that makes Power BI worth the setup.

Download Free Trial Unlock Saving - From $99

Use it on Windows 11 or 10. Free copies save ten items for each section. Converter page

Before you publish the report, check these
  • One month's sales total matches a printed Marg report
  • Cash and bank balances match at the same date
  • Row counts per table match across two exports of the same data
  • Dates read in the right order on a visual
  • Every join uses company plus code

Fix Common Power BI Load Problems

1. Dates swapped or blank

Do this: The locale does not match the file. Set it on the column the way Microsoft shows. Then reload.

2. Combine says headers do not match

Do this: Two files have different columns. Filter the folder to one table and remove stray files.

3. Garbled characters

Do this: Re-open the file as UTF-8 in the import dialog.

4. Totals differ from Marg

Do this: Check your date filter and whether deleted rows were included. The deleted entries guide explains why deleted rows can remain in the files.

Need help with a file layout? Contact our support team and attach the first few rows.

Questions About Marg Data in Power BI

No connector exists for Marg's table files, and the vendor publishes none that we could find. Write the company out to CSV or JSON first, then load those files with Get Data.

Use CSV for most reports, because each file is one flat table that loads with a click. Use JSON when you want a whole company in one file and are willing to unpack records and lists in Power Query.

Marg reports are made for reading and printing. A user thread on Techjockey says Marg sends a single report to Excel per run, so a year of analysis becomes many manual runs and many files to stitch.

Put each file set in its own folder, point the Folder connector at the parent and filter file names to one table. Microsoft says the files need matching column headers to combine. Add the company and year to your key.

The file may write dates day first while Power Query reads them month first. Set the locale on the column. Microsoft documents how to set a locale in Power Query.

That is an encoding mismatch. Open the file as UTF-8 in the import dialog. Microsoft's help page on UTF-8 CSV files shows the setting.

No. These files are a frozen copy. Newer entries need a fresh export. Overwrite the old files and refresh the report.

No. Univik Marg Data Converter takes the Data folder as input and produces CSV and JSON files on its own. Power BI then picks up the output, and neither program depends on the other.
Leena Taylor Paul

Univik staff gave product input. The Power Query steps come from Microsoft Support pages read on October 12, 2026. The layout advice is ours.

Pages we read: Microsoft folder import · Microsoft locale · Microsoft structured columns · Microsoft UTF-8 CSV

More Marg Data Guides

Pick the guide that matches the job on your desk.