Setup

Data Quality Rules

This page lists every data quality rule of Insights Connector for Power BI: 163 rules in 14 areas. Each rule has a permanent code, which Business Central shows on the Data Quality Results and Data Quality Issues pages.

To learn how the check works and how to fix, accept or mute an issue, see Data Quality Check for Business Central.

How to read this page

The rules are grouped by area. Each table gives the rule code, what the rule finds, its severity, the effect in Power BI and what to do.

  • Rule code. The code never changes. Its prefix names the area, for example FIN for Finance.

  • Severity. Error: the reports are wrong, or the data refresh can stop. Warning: the reports are incomplete. Information: worth knowing, often intended, and not counted in the score.

  • Apps. Named under each area heading. A rule runs when one of its apps has a free trial or a subscription. "Any app" means that the rule runs when at least one app does.

  • Once per environment. A rule about setup that all companies share. It runs once, and its results are listed without a company name.

Area

Prefix

Rules

Error

Warning

Information

Connector

CON

7

3

2

2

Subscriptions

SUB

4

2

2

0

Finance

FIN

10

7

3

0

Financial Reporting

FIN-ROWDEF, FIN-REP

6

2

4

0

Cash Flow

CF

1

0

1

0

Sales

SAL

4

1

3

0

Purchasing

PUR

2

0

1

1

Inventory

INV

3

2

1

0

Manufacturing

MFG

3

3

0

0

Dimensions

DIM

4

1

3

0

Currencies

CUR

2

1

1

0

Legacy Data

LEG

2

0

2

0

Row-Level Security

RLS

2

0

2

0

Master Data

MD

113

1

43

69

Total

163

23

68

72

Connector

Setup of the Connector itself: companies, the date table and permissions. Apps: any app. CON-NO-ENABLED-COMPANY and CON-PERMISSION-PER-COMPANY are checked once per environment.

Rule code

What it finds

Severity

Effect in Power BI

What to do

CON-NO-ENABLED-COMPANY

No company is enabled for Power BI

Error

Power BI imports enabled companies only, so the reports stay empty

On the Insights Connector for Power BI page, select Enabled for the companies to import

CON-START-YEAR-TOO-LATE

Start Year of the date table is later than the earliest posted entry, or blank

Error

Entries posted before Start Year are missing from reports by date

In Date Table Setup, set Start Year to the year of the earliest entry

CON-START-YEAR-MANUAL

A manual Start Year is later than the earliest posted entry

Information

The earlier entries stay out of Power BI

Nothing to do if this is intended; mute the rule. Otherwise set an earlier Start Year

CON-COMPANY-NO-GL-SETUP

An enabled company has no General Ledger Setup

Error

The data refresh stops when it reaches that company

Open General Ledger Setup in the company to create it, or clear Enabled for the company

CON-COMPANY-NO-DISPLAY-NAME

A company has no display name

Information

The reports show the company name

Fill in Display Name on the Companies page if the reports should show another name

CON-PERMISSION-PER-COMPANY

Users have the Connector's permission set for some of the enabled companies only

Warning

A data refresh with such a user stops at the companies that are not covered

Clear Company on the permission set, or add it for the missing companies. Nothing to do for a user who does not refresh Power BI

CON-FY-START-MONTH-MISMATCH

Fiscal Year Start Month differs from the company's accounting periods

Warning

Fiscal years, quarters and year-to-date figures do not match the accounting periods

In Date Table Setup, set Fiscal Year Start Month. Mute the rule for a company with a different fiscal year on purpose

Subscriptions

Free trials and subscriptions of the apps. These four rules always run, also when no app has a free trial or a subscription, and are checked once per environment.

Rule code

What it finds

Severity

Effect in Power BI

What to do

SUB-NONE-ACTIVE

No app has a free trial or a subscription

Error

The data refresh of every app stops with "Subscription is not active"; the other rules are not checked

Start the free trial or buy a subscription on the Insights Connector for Power BI page

SUB-ENDS-SOON

A free trial or a cancelled subscription ends within 14 days

Warning

After that date the data refresh of the app stops

Buy a subscription before the free trial ends. For a cancelled subscription that is still needed, contact support

SUB-NOT-READABLE

The subscriptions cannot be read from Stripe

Warning

The data refresh stops with "Could not get subscription"

Run the check again later. In a sandbox, allow HttpClient requests for the Connector in Extension Management. A sandbox copied from production needs its own Stripe customer

SUB-UNPAID

A subscription has a payment that was not completed

Error

The data refresh of the app stops until the open invoice is paid

Pay the open invoice or update the payment method in the Customer Portal

Finance

G/L accounts, G/L account categories, budgets and G/L entries. App: Finance. FIN-CAT-DIFFER-BETWEEN-COMPANIES is checked once per environment.

Rule code

What it finds

Severity

Effect in Power BI

What to do

FIN-ACC-NO-CATEGORY

Posting G/L accounts without a G/L account category

Error

The account is not classified, so KPIs and ratios leave it out

Open the G/L account and fill in Account Subcategory

FIN-ACC-CATEGORY-MISMATCH

G/L accounts whose Account Category differs from that of their G/L account category

Error

The account shows in a different part of the statements than its Account Category says

Choose an Account Subcategory of the same Account Category, or change Account Category

FIN-ACC-INCBAL-MISMATCH

G/L accounts whose Income/Balance differs from that of their G/L account category

Error

The account shows in the other statement than its Income/Balance says

Choose an Account Subcategory with the same Income/Balance, or change Income/Balance

FIN-ACC-CATEGORY-INVALID

G/L accounts and G/L account categories with a blank Account Category, or one that does not fit Income/Balance

Error

The account or category can show in the wrong statement, or in none

Fill in or correct Account Category. Income, Cost of Goods Sold and Expense belong to Income Statement; Assets, Liabilities and Equity to Balance Sheet

FIN-CAT-NO-SUBCATEGORY

G/L account categories with G/L accounts but no Account Subcategory (Power BI)

Error

The accounts of the category are left out of KPIs and ratios

Open G/L Account Categories and fill in the subcategory, or choose Suggest Power BI Subcategories

FIN-ENTRY-NO-POSTING-DATE

G/L entries without a posting date

Error

The data refresh can stop with "The date is not valid"

Ask your Business Central partner to correct the posting date

FIN-ACC-TOTALING-INVALID

Total G/L accounts with a Totaling that is not a valid filter

Error

A financial report that totals the account stops the data refresh

Correct Totaling in the chart of accounts, or choose Indent Chart of Accounts

FIN-NO-GL-BUDGET

No G/L budget in the current fiscal year

Warning

The budget measures are empty

Enter a G/L budget that is not excluded from Power BI, or mute the rule if you do not budget

FIN-BUDGET-INCOME-POSITIVE

G/L budgets with a positive income budget

Warning

The budget shows with the wrong sign next to the actuals

Enter the income budget with a negative sign, as income is posted

FIN-CAT-DIFFER-BETWEEN-COMPANIES

G/L account categories that differ between the enabled companies

Warning

Reports that show several companies repeat the lines that differ

Give the companies the same categories, with the same indentation and in the same order

Financial Reporting

Financial reports and their row definitions, for the reports that are not excluded from Power BI. App: Finance.

Rule code

What it finds

Severity

Effect in Power BI

What to do

FIN-ROWDEF-CIRCULAR

Row definition formulas that refer back to themselves

Error

The data refresh stops with "Circular reference detected in totaling formula"

Correct the formula in the row definition. Look for a formula that includes its own row, and for rows that share a Row No.

FIN-ROWDEF-DUPLICATE

Row definition rows that total the same account twice

Error

The data refresh stops with "The record in table EKNPBIDimFinRep Row Def. Acc. already exists"

Change Totaling of the row so that it does not select total accounts that overlap

FIN-ROWDEF-UNSUPPORTED-FORMULA

Row definition formulas that Power BI does not support

Warning

The row is empty or incomplete

Use only adding, subtracting, dividing one row by another and multiplying by a number; split other formulas over several rows. Set Row Type of a formula row to Net Change

FIN-ROWDEF-FORMULA-NO-ROW

Row definition formulas with a term that is not a row number

Warning

The term is left out, so the row is incomplete

Correct the row number in the formula. A fixed number is supported as a multiplier only

FIN-ROWDEF-RANGE-ORDER

Row definition formulas with a range of row numbers that differs as text and as numbers

Warning

The range includes or leaves out the wrong rows

Give the row numbers the same number of digits, for example 020 instead of 20

FIN-REP-DUP-DISPLAY-TITLE

Financial reports with the same description or the same row definition

Warning

Only one of the two reports can be selected

Give each report its own description and row definition, or exclude the one that is not needed from Power BI

Until an error in a row definition is fixed, you can select Exclude from Power BI on the financial report so that the data refresh runs.

Cash Flow

The cash flow forecast that the Cash Flow reports show. App: Cash Flow.

Rule code

What it finds

Severity

Effect in Power BI

What to do

CF-NO-FORECAST

No cash flow accounts, no cash flow forecast, or no forecast entries from the current month on

Warning

The Cash Flow reports are empty

Set up the chart of cash flow accounts, create a forecast, and calculate it with Suggest Worksheet Lines and Register

Sales

Sales budgets, customers, sales orders and shipments. App: Sales.

Rule code

What it finds

Severity

Effect in Power BI

What to do

SAL-SHPT-LINE-NO-POSTING-DATE

Posted sales shipment lines without a posting date

Error

The data refresh can stop

Ask your Business Central partner to correct the posting date

SAL-NO-SALES-BUDGET

No sales budget in the current fiscal year

Warning

The sales budget measures are empty

Enter a sales budget that is not excluded from Power BI, or mute the rule if you do not budget sales

SAL-CUST-NO-SALESPERSON

Customers without a salesperson

Warning

Sales by salesperson shows these customers without a salesperson

Fill in Salesperson Code on the customer, or mute the rule if you do not use salespeople

SAL-LINE-ZERO-COST

Outstanding sales order lines of inventory items without a unit cost

Warning

The profit of these lines in the open order reports is too high

Fill in the unit cost of the item or of the sales line. Mute the rule if these items have no cost on purpose

Purchasing

Purchase budgets and vendors. App: Purchasing.

Rule code

What it finds

Severity

Effect in Power BI

What to do

PUR-NO-PURCH-BUDGET

No purchase budget in the current fiscal year

Warning

The purchase budget measures are empty

Enter a purchase budget that is not excluded from Power BI, or mute the rule if you do not budget purchases

PUR-VEND-NO-PURCHASER

Vendors without a purchaser

Information

Purchases by purchaser shows these vendors without a purchaser

Fill in Purchaser Code on the vendor, or mute the rule if you do not use purchasers

Inventory

Items, item categories and value entries. Apps: Sales, Purchasing, Inventory, Projects, Service, Manufacturing and Warehouse for the two item rules; Sales, Purchasing, Inventory, Manufacturing and Finance for INV-VALENTRY-NO-POSTING-DATE.

Rule code

What it finds

Severity

Effect in Power BI

What to do

INV-ITEMCAT-PARENT-MISSING

Item categories with a parent category that does not exist

Error

The category hierarchy cannot be built, and the data refresh can stop

Open Item Categories and select another parent category, or create the missing one

INV-VALENTRY-NO-POSTING-DATE

Value entries without a posting date

Error

The data refresh can stop

Ask your Business Central partner to correct the posting date

INV-ITEM-NO-CATEGORY

Items without an item category

Warning

Reports that show items show these items without a category

Fill in Item Category Code on the item, or mute the rule if you do not use item categories

Manufacturing

Production orders and their lines. App: Manufacturing.

Rule code

What it finds

Severity

Effect in Power BI

What to do

MFG-ORDER-DUP-STATUS

Production order numbers that exist in more than one status

Error

The order is counted twice

Check which production order is the right one, and delete the other or give it another number

MFG-LINE-DUP-STATUS

Production order lines with the same order number and line number in more than one status

Error

The lines are counted twice

Check which production order is the right one, and delete the other or give it another number

MFG-LINE-NO-ORDER

Production order lines without a production order

Error

The lines cannot be related to an order, and the data refresh can stop

Ask your Business Central partner to delete the lines that were left behind, or to restore the production order

Dimensions

Dimension Setup of the Connector and the dimension values. Apps: any app; the two setup rules look only at the apps that have a free trial or a subscription. DIM-SETUP-ORDER-DIFFERS is checked once per environment.

Rule code

What it finds

Severity

Effect in Power BI

What to do

DIM-VALUE-TOTALING-INVALID

Total dimension values with a Totaling that is not a valid filter

Error

The data refresh stops when Power BI reads the totals of the dimension

Correct Totaling of the dimension value, for example 100..199

DIM-SETUP-NOT-MAPPED

Apps without a dimension in Dimension Setup, or with one that no longer exists

Warning

The reports of the app show no dimensions

Select the dimensions of the app in Dimension Setup. Mute the rule if the company does not use dimensions

DIM-SETUP-ORDER-DIFFERS

Dimension Setup that differs between the enabled companies

Warning

Two Business Central dimensions show under the same name

Select the dimensions in the same order in all companies. Mute the rule if the companies differ on purpose

DIM-VALUE-CODE-PIPE

Dimension values with the vertical bar symbol in their code

Warning

Totals and hierarchies of the dimension do not show correctly

Rename the dimension value to a code without the symbol

Currencies

Reporting Currency 1 and 2 in Reporting Currency Setup. Apps: any app; the rules look at Sales, Purchasing, Inventory, Finance, Accounts Receivable and Accounts Payable when they have a free trial or a subscription.

Rule code

What it finds

Severity

Effect in Power BI

What to do

CUR-NO-EXCH-RATE

Reporting currencies without an exchange rate, or with a zero exchange rate

Error

Power BI shows "Missing conversion rate" for the amounts it cannot convert

Enter the exchange rate of the currency, or select another reporting currency

CUR-EXCH-RATE-MONTH-GAP

Reporting currencies with months without an exchange rate

Warning

The Monthly Average Rate method needs a rate in every month

Enter at least one exchange rate in every month. Mute the rule if the reports do not use that method

Legacy Data

Legacy data of Sales, Purchasing, Inventory and Finance. Apps: any app.

Rule code

What it finds

Severity

Effect in Power BI

What to do

LEG-DATA-NOT-APPROVED

Legacy data that has entries but is not approved

Warning

The legacy entries are missing from the reports

Open Legacy Data, check the entries and choose Approve

LEG-DATA-HAS-ERRORS

Legacy data with errors from its last check

Warning

The legacy data cannot be approved, so its entries are missing from the reports

Open Legacy Data, correct the entries and approve the legacy data again

Row-Level Security

The Power BI users in Row-Level Security and their values. Apps: any app. RLS-USER-NO-FILTER is checked once per environment.

Rule code

What it finds

Severity

Effect in Power BI

What to do

RLS-USER-NO-FILTER

Power BI users whose role needs values that they do not have

Warning

The user sees a blank report in that app

Add the values to the Power BI user, or choose another role. Accept the issue if the user should not see these reports

RLS-VALUE-MISSING

Row-level security values that no longer exist in Business Central

Warning

The value matches no data; if it is the user's only value, the user sees a blank report

Remove the value from the Power BI user, or replace it with one that exists

Master Data

The records that Power BI relates entries to and names in the reports, such as customers, items and G/L accounts. The same three checks apply to each of 56 tables, which gives 113 rules.

Rule code

What it finds

Severity

Effect in Power BI

What to do

MD-BLANK-CODE

A record with a blank number or code in any of the tables below. One issue per table

Error

Power BI does not accept a blank key, so the data refresh can stop

Delete the record or give it a number. If it cannot be deleted, ask your Business Central partner

MD-table-BLANK-NAME

Records with a blank name or description. One rule per table

Warning; Information for the tables marked below

The reports show these records without a name

Open the record and fill in the name or description

MD-table-DUP-NAME

Records with the same name or description as an earlier record. One rule per table

Information

A report that shows the name without the number shows them as one line, with their amounts added together

Change one of the names if the records are different. Accept the issue if they share the name on purpose, or mute the rule if this is expected throughout

In a rule code, table is the short name from the list below, for example MD-CUST-DUP-NAME. MD-BLANK-CODE runs for any app. The two name rules of a table run when one of the table's apps has a free trial or a subscription.

Tables

In the Apps column, item apps stands for Sales, Purchasing, Inventory, Projects, Service, Manufacturing and Warehouse.

Table

Short name

Blank name

Apps

Item

ITEM

Warning

Item apps

Customer

CUST

Warning

Sales, Inventory, Accounts Receivable, Projects, Service

Vendor

VEND

Warning

Purchasing, Inventory, Accounts Payable

G/L Account

GLACC

Warning

Finance

Dimension Value

DIMVALUE

Warning

All apps except CRM and Warehouse

Salesperson/Purchaser

SALESPERS

Warning

Sales, Purchasing, Accounts Receivable, Accounts Payable, CRM

Location

LOCATION

Warning

Sales, Purchasing, Inventory, Manufacturing, Warehouse

Item Category

ITEMCAT

Warning

Item apps

Payment Method

PAYMETHOD

Information

Sales, Purchasing, Accounts Receivable, Accounts Payable

Bank Account

BANKACC

Warning

Finance, Accounts Receivable, Accounts Payable, Cash Flow

IC Partner

ICPARTNER

Warning

Finance

Fixed Asset

FA

Warning

Finance

Resource

RES

Warning

Projects, Service

Project

PROJECT

Warning

Projects

Contact

CONT

Warning

CRM

Country/Region

COUNTRY

Warning

All apps

Item Variant

ITEMVAR

Information

Item apps

Unit of Measure

UOM

Information

Item apps

Inventory Posting Group

INVPOSTGR

Information

Item apps

Manufacturer

MFR

Information

Item apps

Routing

ROUTING

Information

Item apps

Production BOM

PRODBOM

Information

Item apps

Tariff Number

TARIFFNO

Information

Inventory, Warehouse

Item Charge

ITEMCHG

Warning

Sales, Purchasing, Inventory

Reason Code

REASON

Warning

Sales, Purchasing, Inventory, Manufacturing, Warehouse

Return Reason

RETREASON

Warning

Sales, Purchasing, Inventory

Demand Forecast

FORECAST

Warning

Inventory

Item Budget

ITEMBUDGET

Warning

Sales, Purchasing, Inventory, Finance

Shipping Agent

SHIPAGENT

Warning

Sales

Purchasing Code

PURCHCODE

Warning

Sales

Territory

TERRITORY

Warning

Sales

Statistical Account

STATACC

Warning

Finance

Allocation Account

ALLOCACC

Warning

Finance

Source Code

SOURCECODE

Information

Finance

G/L Budget

GLBUDGET

Warning

Finance

Cash Flow Account

CFACC

Warning

Finance, Cash Flow

Cash Flow Forecast

CFFORECAST

Warning

Finance, Cash Flow

Project Task

PROJTASK

Warning

Projects

Campaign

CAMPAIGN

Warning

CRM

Segment

SEGMENT

Information

CRM

Sales Cycle

SALESCYCLE

Warning

CRM

Close Opportunity Code

CLOSEOPP

Warning

CRM

Work Center

WORKCTR

Warning

Manufacturing

Machine Center

MACHCTR

Warning

Manufacturing

Scrap Code

SCRAP

Warning

Manufacturing

Stop Code

STOP

Warning

Manufacturing

Work Shift

WORKSHIFT

Information

Manufacturing

Service Item

SERVITEM

Warning

Service

Service Order Type

SERVORDTYPE

Warning

Service

Fault Area

FAULTAREA

Warning

Service

Symptom Code

SYMPTOM

Warning

Service

Resolution Code

RESOLUTION

Warning

Service

Fault Reason Code

FAULTREASON

Warning

Service

Repair Status

REPAIRSTATUS

Warning

Service

Zone

ZONE

Information

Warehouse

Bin Type

BINTYPE

Information

Warehouse

How names are compared

The same-name rules ignore upper and lower case and spaces at the start and the end. Some tables leave out records that repeat a name for a good reason:

  • Customers and vendors: those blocked for all are left out.

  • G/L accounts and cash flow accounts: only posting or entry accounts are compared, because headings and totals often repeat a name.

  • Contacts: only contacts of type Company are compared.

  • Dimension values: only standard values, and only within the same dimension.

  • Item variants, project tasks, zones and item budgets: compared only within the same item, project, location or analysis area.

  • Service items: only service items without an item number are compared.

We use cookies

We use cookies to enhance your browsing experience, personalize content and ads, and analyze our traffic. Read our Privacy Policy.