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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.