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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.