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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Creating a Data Quality Dashboard filtered by multiple criteria

Hello,

 

I am trying to create a Data Quality Dashboard filtered by multiple criteria. I have the following two tables:

 

Error-Table:

uidproductattribute
1xxxxProduct 1Attr1
2xxxxProduct 2Attr1
3xxxxProduct 1Attr3

where the product column is joined from the next table:

 

All-Products-Table:

uidproduct
1xxxxProduct 1
2xxxxProduct 2
3xxxxProduct 1
4xxxxProduct 1

 

I want to display the quality of each attribute in a bar chart. But when I calculate the quality in a new column or table, I can no longer filter by product.

 

Using the example from the table above:
Attr1 occurs twice in the Error-Table for a total of 4 records in the All-Products-Table. The rel. error is 2/4 = 50%.
By using a filter I want to take a closer look at Product1:  Now Attribute1 occurs once in the Error-Table for a total of 3 records in the All-Products-Table. The error would now be 1/3 = 33.3%.

 

What is the best way to solve this problem?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

Measure = 
 var _countrows_allpro=COUNTROWS(ALLSELECTED('All-Products-Table'))
 var _countrows_attribute=CALCULATE(COUNTROWS('Error-Table'),FILTER(ALLSELECTED('Error-Table'),[attribute]=MAX('Error-Table'[attribute])))
 return DIVIDE(_countrows_attribute,_countrows_allpro)

(3) Then the result is as follows.

vtangjiemsft_0-1676533035004.pngvtangjiemsft_1-1676533061573.png

Best Regards,

Neeko Tang

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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

Measure = 
 var _countrows_allpro=COUNTROWS(ALLSELECTED('All-Products-Table'))
 var _countrows_attribute=CALCULATE(COUNTROWS('Error-Table'),FILTER(ALLSELECTED('Error-Table'),[attribute]=MAX('Error-Table'[attribute])))
 return DIVIDE(_countrows_attribute,_countrows_allpro)

(3) Then the result is as follows.

vtangjiemsft_0-1676533035004.pngvtangjiemsft_1-1676533061573.png

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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