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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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 Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.