DAX code
Rows Failing a Rule =
COUNTROWS(FILTER('Sales', 'Sales'[Amount] < 0 || ISBLANK('Sales'[CustomerID])))
Counts rows that fail a validation rule, the complement of the Validity % measure.
Type your table and column names once. Every measure below updates.
Rows Failing a Rule =
COUNTROWS(FILTER('Sales', 'Sales'[Amount] < 0 || ISBLANK('Sales'[CustomerID])))
Replace the condition inside FILTER with the inverse of whatever rule the Validity % measure uses.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Rows Failing a Rule.