Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Ashu27
New Member

Power BI formulas help

Hi Experts , we are building a powerBI dashboard for our data quality dashboard from the daily data quality reports out of Azure. We are doing extensive DQ checks such as null check, character validation check ,outlier check and so on. We need to show fields like total count,valid count,error count,error percentage, and we need these non additive fields to show in range of dates,let's says in between no of days, week, month and yearly total summaries. We are using formular such as 

1.Error Percentage

Error_Percentage = DIVIDE( [Error_Count], [Total_Count], 0 ) * 100

2. Valid Percentage

Valid_Percentage = DIVIDE( [Valid_Count], [Total_Count], 0 ) * 100

3.Null Validation Metrics

Null_Error_Percentage = VAR NullErrors = CALCULATE( [Error_Count], DataQualityReport[Validation_Type] = "Null Validation" ) VAR NullTotal = CALCULATE( [Total_Count], DataQualityReport[Validation_Type] = "Null Validation" ) RETURN DIVIDE(NullErrors, NullTotal, 0) * 100 // Null check pass rate Null_Pass_Rate = 100 - [Null_Error_Percentage] 

and similarly we are doing the same for character limit check etc. Please suggest is it the right approach or formulas are correct to give correct results.

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@Ashu27 Your approach to calculating error percentage, valid percentage, and null validation metrics using DAX formulas in Power BI seems correct. The formulas you provided are standard ways to calculate these metrics and are commonly used in data quality analysis




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

1 REPLY 1
bhanu_gautam
Super User
Super User

@Ashu27 Your approach to calculating error percentage, valid percentage, and null validation metrics using DAX formulas in Power BI seems correct. The formulas you provided are standard ways to calculate these metrics and are commonly used in data quality analysis




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.