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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jakenguyen02
Frequent Visitor

Division with multiple Filters

I've been trying to figure this out for the last few hours and don't know if it's possible. I have 3 audits and they look at different things. I want to divide the issue by the audit count of what is reviewed to get the actual error percentage. 

 

Please see my example below. 

 

This shows what's being audited per audit type.

jakenguyen02_0-1722443023792.png

 

jakenguyen02_2-1722443195768.png

 

This is my expected output. 

jakenguyen02_3-1722443240103.png

 

Thank you.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ jakenguyen02,

 

Based on the data you provided, I created the following two tables.

Table1

vdengllimsft_7-1722489672591.png

 

 

Table2

vdengllimsft_8-1722489672592.png

 

In Table 1, add a calculated column (AT_count) to calculate the audit count for the row with an AuditType of Yes.

e6894e24-b1a6-4e23-b28b-df2dd13004ab.jpg

AT_count =

  VAR _AT1 = IF(Table1[Audit Type1] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT2 = IF(Table1[Audit Type2] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT3 = IF(Table1[Audit Type3] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  RETURN

  _AT1+_AT2+_AT3

 

In Table 1, then add a calculated column Error Rate to calculate the actual error percentage.

3d58f57e-0025-4e71-8671-7b75147c5a0f.jpg

Error Rate = Table1[Issue Count]/Table1[AT_count]

You can then construct a visual object table that meets your goals.

c43d0889-5596-40d5-8c98-52cfcaa4203f.jpg

 

Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
jakenguyen02
Frequent Visitor

Thank you for your help!

Anonymous
Not applicable

Hi @ jakenguyen02,

 

Based on the data you provided, I created the following two tables.

Table1

vdengllimsft_7-1722489672591.png

 

 

Table2

vdengllimsft_8-1722489672592.png

 

In Table 1, add a calculated column (AT_count) to calculate the audit count for the row with an AuditType of Yes.

e6894e24-b1a6-4e23-b28b-df2dd13004ab.jpg

AT_count =

  VAR _AT1 = IF(Table1[Audit Type1] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT2 = IF(Table1[Audit Type2] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  VAR _AT3 = IF(Table1[Audit Type3] = "Yes" , MIN(Table2[Total Audit Completed]) , 0)

  RETURN

  _AT1+_AT2+_AT3

 

In Table 1, then add a calculated column Error Rate to calculate the actual error percentage.

3d58f57e-0025-4e71-8671-7b75147c5a0f.jpg

Error Rate = Table1[Issue Count]/Table1[AT_count]

You can then construct a visual object table that meets your goals.

c43d0889-5596-40d5-8c98-52cfcaa4203f.jpg

 

Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.