Data validation rules

Ensure accurate Power BI reporting by setting up validation rules for manually entered numeric data using Inforiver Writeback Matrix.

Why are data validation rules important?

circle-check

You can set up 3 types of data validation rules in Inforiver:

  • Locking rule: Locks the selected measure or column for editing. Learn more about Locking Rules.

  • Distribution rule: Select how to distribute entered values among child rows in a hierarchy.

  • Min/Max rule: Set the minimum and maximum values that can be entered.

circle-info
  • Data validation rules are supported only in Writeback Matrix.

  • Data input rules can be applied only to numeric data input measures and columns.

General configuration options for rules

You can select the data input measures and columns to apply the rules to. You can also apply rules to specific rows or column dimension categories.

To demonstrate these options, we've chosen locking rules. The functionality is the same for distribution and min/max rules.

1. Apply to

Select the measures or data input columns to apply the rule.

  • All Measures: Locks all the data input measures in the report.

  • Selected Measures: Choose the measures that should be locked for editing. Select the measures from the Choose Measures dropdown.

  • All Visual Columns: Locks all the data input columns in the report.

  • Selected Visual Columns: Choose the data input columns that should be locked. Select the columns from the Choose Measures dropdown.

Locking all data input measures
Lock all visual columns

2. Choose Measures

Select specific data input measures or columns that should be made read-only fields.

Only the interest measure is locked
Only the ESG fund visual column is locked

3. Target rows

In typical business reporting, it’s often necessary to apply data input rules to specific row categories. The rule can be applied to all the rows, or you also have the flexibility to select specific row categories that should be made read-only.

Select the All Rows radio button to lock the entire field.

By default, all row categories are locked

To lock specific row categories, select the Custom radio button and click Configure. Select the categories to lock in the Configure Custom Row Filter window.

Select row categories to lock
Only selected row categories are locked

You can also use the Filter option to apply conditions based on which rows will be locked for editing.

Applying filters to lock rows

2.4. Target columns

  • Apply rules to specific columns

Data validation rules are applied to all columns by default. However, an actual business report may require that rules be applied only to certain columns. For example, locking rules need to be enabled on columns that are audited or approved.

Select the Custom option and click on Configure to select the column dimension categories to lock. Based on our selection, the Interest field is locked for the APAC and East regions, but the Central region is open for editing.

Select column dimension catgories to lock
Interest field locked for APAC and East
  • Apply rules for a specific time period

When you have a date dimension in your columns, you can choose to apply rules for a defined time range. For example, in a planning use case, approved historical budgets will be locked for editing; however, budgets for future time periods will be editable.

In this example, we've locked the budget for the previous year (2024) and the first quarter of the current year (Q1 2025). Users can edit the budget for the rest of 2025.

Data input fields are locked for the defined time range

2.5. Apply to children

Apply rules automatically to child rows when the parent row is selected.

circle-info

This option should be used with the Custom option, where specific row categories are selected for locking.

To demonstrate this for row hierarchies, we've selected the 'Discounts' and 'Sales Allowances' categories and selected the Custom option in the Target Rows section.

Row category selection for locking rules

Notice how all the child categories under the Discounts hierarchy level are locked, although we only selected the 'Sales Allowances' and 'Discounts' rows.

Lock all child categories when the parent row is selected for locking

Similarly, for a date hierarchy in the columns, we've selected Qtr 1 2026 and February 2026 in the column selection window.

Only Q1 and February are selected for locking

The entire forecast for Qtr 1, including January and March, is closed as the Apply to children option is selected.

Forecasts are closed for months as well when the quarter is selected

Last updated

Was this helpful?