Power BI has no connector for Marg's table files.
Export the company as CSV or JSON, then bring the files in 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.
Marg to Power BI reporting needs flat tables, and Marg's own files have no Power BI connector. CSV or JSON files from a company close that gap. A few Power Query settings, mainly the locale on date columns, decide whether the numbers tie.
Who Builds Dashboards from Marg Books?
You export report after report and still cannot slice by month and party in one view.
See why →You have both CSV and JSON on offer and you want whichever one costs you less cleanup in Power Query.
Compare the formats →One dashboard should show several companies or years side by side.
Combine the files →Univik Software applies filters for dates and voucher types when it creates the files, so a dashboard can start with one year and add more later.
Why Does Marg Data Not Open in Power BI Directly?
Marg keeps its tables in separate files inside the Data folder, and Microsoft's list of Power Query connectors has no Marg entry. Report exports are a fallback, but they follow the printed report's shape and not the data's shape.
Limitations of report exports are that slicing by month and party in one view needs several reports stitched together.
Stop looking for a connector and create files in a format Power BI already opens. For a workbook instead of flat files, see Export All Marg Data into One Excel Workbook.
Which Suits Marg Data Better: CSV or JSON?
Both formats work. They differ in shape, and Univik Software creates either one from the same company, so test both on the same data and keep the one that suits you.
Which format should you choose? Choose CSV for the shortest Power Query. Choose JSON when scripts or a database will open the files too. Not sure? Begin with CSV and test JSON on the same company later.
| Criteria | CSV | JSON |
|---|---|---|
| Shape | Flat rows and columns | Records and lists |
| Get Data option | Text/CSV | JSON |
| On opening | Check delimiter, File Origin and types | Power Query flattens the file into a table |
| Our advice | Most dashboards | Scripts and databases |
| Many files | Folder connector | Folder connector |
Microsoft documents both paths in Power Query Text/CSV connector and Power Query JSON connector. The JSON connector flattens the file into a table on opening, so you check the columns afterwards.
How to Import Marg Data into Power BI Step by Step
- Export the company Select the CSV files or JSON data card on the export window, then set the date range and the voucher types. One year is enough to start.
- Open Power BI Desktop Start a blank report and open Get Data. Choose Text/CSV for one CSV file, JSON for a JSON file or Folder for many files.
- Filter to one table In the folder dialog, select Transform Data and keep only the file names for the table you want. Then combine the files.
- Fix the column types Right-click the date column, select Change type and then Using locale. Set amounts to decimal numbers and keep codes as text.
- Add company and year to the key The same code can repeat across companies. Keep the file or folder name and use it in every join.
- Relate the tables and check one total Join the tables on company plus code. Compare one month with a printed Marg report before you publish.

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.

How Do You Combine Many Marg Companies or Years?
Put the files in a folder and point the Folder connector at the parent. Microsoft's Combine files overview says files combine when they share the same file type and structure, including the same columns, and Power Query Folder Connector names Combine & Transform Data as the easiest way to do it.
| Step | What to do | Why |
|---|---|---|
| Filter | Keep file names for one table | Combine needs the same columns |
| Tag | Keep the source name as a column | Codes can repeat between companies |
| Type | Apply one locale to dates | Day-first dates fail under a month-first locale |
| Join | Use company and code together | Avoids mixing two companies |
If dates look swapped or show errors, right-click the column header and use Change type, then Using locale, as Data Types in Power Query explains. If special characters look broken, set File Origin to UTF-8 in the import dialog, which the Text/CSV connector article describes.
Univik Marg Data Converter creates plain CSV and JSON files that Power BI, a database or a script can open, with filters for dates and voucher types.
Univik Software checks its figures before it creates the files. Group totals equalled the sum of group month postings in 100% of test rows, across month balance tables of 1,241, 4,313 and 33,261 rows in three real companies.
Download Free Trial Buy Now - From $99Install on Windows 10 or 11 after adding .NET 4.8. The free trial stops at ten items per section.
- 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
- Company plus code appears in every join
Fix Common Power BI Import Problems
Do this: The locale does not match the file. Right-click the column header, select Change type and then Using locale, and choose the locale of the file's dates. Refresh the report afterwards.
Do this: Two files have different columns. Select Transform Data in the folder dialog, filter the list to one table and remove stray files.
Do this: Set File Origin to UTF-8 in the import dialog and apply it again.
Do this: Check your date filter and whether deleted rows were included. See Find Deleted and Changed Entries in Marg Data for what the files keep.
Need help with a CSV or JSON file? Contact our support team and attach the first few rows.
Questions About Marg Data in Power BI
Is there a native Power BI connector for Marg?
No. Microsoft's list of Power Query connectors has no Marg entry, so create CSV or JSON files from the company first and bring them in with Get Data.
Which is better for Power BI: CSV or JSON?
Choose CSV for most reports, because a CSV file is a flat table that opens with Text/CSV in Get Data. Choose JSON when scripts or a database also use the files, and check the flattened columns in Power Query.
Which Get Data options open Marg CSV and JSON files?
Text/CSV opens a CSV file, JSON opens a JSON file and Folder combines many files. Microsoft describes these options in its Power Query connector articles.
How do I combine several companies or years in one report?
Put the files in their own folder, point the Folder connector at the parent and select Combine & Transform Data. Microsoft says the files need the same file type and structure, including the same columns. Add the company and year to your key.
Why are my dates wrong in Power BI?
Power Query interprets dates with your locale, so a day-first date can fail under a month-first locale like English (United States). Right-click the column header and use Change type, then Using locale.
Why do special characters look broken?
Character sets can differ between the file and Power BI. Set File Origin to UTF-8 in the import dialog. Microsoft says Power Query infers UTF-8 only when the file starts with a UTF-8 byte order mark.
Does the report refresh when I enter new vouchers?
No. CSV and JSON files are a copy from the day you export. Create a fresh export for newer entries, overwrite the old files and refresh the report.
Do I need Marg installed to build the report?
No. Univik Software opens the Data folder directly and creates the CSV and JSON files, so the PC needs no Marg install. Power BI then opens the output, and neither program depends on the other.