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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Jaiswal_ji
Regular Visitor

Drill Through filters are not working when I am creating a matrix.

Let me describe the whole scenario over here. 
I am using two tables and matching the data between them. They are basic personal details. I have to count the no. of misatches between them according to different fields like customer name, mobile no, address and so on. 

FieldsMismatch CountMismatch %
Customer Name  
Mobile No  
and so on....  


now I have created this matrix by manually create table and fro the mismatch count I have created a column with the conditions such as 
Total_Mismatch_Count =
SWITCH(
TRUE(),
'Fields'[Field] = "Customer Name", CALCULATE(COUNTROWS('Table'), 'Table'[CustomerName_Mismatch] = "N"),
'Fields'[Field] = "CNIC", CALCULATE(COUNTROWS('Table'), 'Table'[CNIC_Mismatch] = "N"),
'Fields'[Field] = "DOB", CALCULATE(COUNTROWS('Table'), 'Table'[DOB_Mismatch] = "N").... 
and so on.

From this I'm getting the desired results of the mismatch counts and mismatch %. 
But the problem is that the filters [CustomerName_Mismatch] = "N" is not working in the drill through page. 
i want to see all the customers with name mismatches.

in my drill through page its the raw data (mismatch_table) where all the fields from both the sources are present. customer_ name_1 and Customer_name_2 with CustomerName_Mismatch .
I am unbale to build any relationship between the matrix view created and the mismatch_table.

as all the of the data are in columnwise. PLease suggest a way to create such a table view with the filters working on the drill through page.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jaiswal_ji ,

 

I've made a test for your reference:

1\Here is my datasource

vbofengmsft_0-1727145432370.png

vbofengmsft_1-1727145443155.png

2\Create a measure for Table

Measure = If( 
    (MAX(Fields[Field]) = "Customer Name" && Max('Table'[CustomerName_Mismatch]) = "N")||
    ( MAX(Fields[Field]) = "CNIC" && Max('Table'[CNIC_Mismatch]) = "N") ||
    (MAX(Fields[Field]) = "DOB" && Max('Table'[DOB_Mismatch]) = "N"),1,0)

3\Filter on this measure

vbofengmsft_4-1727145607953.png

 

4\Result

vbofengmsft_2-1727145572157.png

vbofengmsft_3-1727145589203.png

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Jaiswal_ji ,

 

I've made a test for your reference:

1\Here is my datasource

vbofengmsft_0-1727145432370.png

vbofengmsft_1-1727145443155.png

2\Create a measure for Table

Measure = If( 
    (MAX(Fields[Field]) = "Customer Name" && Max('Table'[CustomerName_Mismatch]) = "N")||
    ( MAX(Fields[Field]) = "CNIC" && Max('Table'[CNIC_Mismatch]) = "N") ||
    (MAX(Fields[Field]) = "DOB" && Max('Table'[DOB_Mismatch]) = "N"),1,0)

3\Filter on this measure

vbofengmsft_4-1727145607953.png

 

4\Result

vbofengmsft_2-1727145572157.png

vbofengmsft_3-1727145589203.png

Best Regards,

Bof

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.