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
icrishanka
Frequent Visitor

Filtering values are not match when using two table and measures

Hi,

 

I use two tables with two measures (need to use, I am using switch method) like following image, 

 

Please help 

1. Total_Defect = SUM(Ex_Machine_Count[qty]))

2. Total_Defect_L =
CALCULATE(
    SUM(Ex_Machine_Count[qty]),FILTER('04.Hand','04.Hand'[HandID]=="L")
)
 

Issue is, when I select the one of cell value, it is not mtach with another table value(Plz see following image as example)

1. Initial : this is ok (Add L + R)

icrishanka_1-1696485623054.png

2. This is ok : filtering with size

icrishanka_2-1696485705231.png

 

3. This is wrong : Filter size with L

icrishanka_3-1696485762373.png

 

1 REPLY 1
ChiragGarg2512
Solution Sage
Solution Sage

@icrishanka , It will not match because total_defect is the sum of qty. So, when a value in L is selected total_defect shows the value for size 7.0. Beacuse for that value of L there is also a value of R for which the value of total_defect is as shown. 

Eveything is working as it should.

Thank You

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.