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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kaye123
Frequent Visitor

Filter not working on a Measure with own filters

I created a Measure in which there is a default filetr to use aside from a slicer filter or the page filter. However, data doesn't filter when i to a slicer selection or page filter. What could be teh problem in my code?

 

Fab Ins = CALCULATE(SUM('ADYAP_Fab'[WafersIn]),'ADYAP_Fab'[PartType] IN { "F" }) + // Internal 
CALCULATE(SUM('ADYAP_Probe'[WafersIn]), 'ADYAP_Probe'[PartType] IN { "D" }, LEFT( 'ADYAP_Probe'[FabSite],2) <> "XX") // External)
2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @kaye123 ,

 

Here I create a sample to have a test your code. I think filter from columns in related table should work. Please make sure column in the slicer filter or the page filter has relationship with 'ADYAP_Fab' and 'ADYAP_Probe'.

My Sample:

RicoZhou_0-1669960821944.png

Result is as below.

By Default:

RicoZhou_1-1669960860827.png

With Slicer Selection:

RicoZhou_2-1669960931175.png

 


Best Regards,
Rico Zhou

 

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

Thank you it worked. I had a lot of relationships setup. teh Fab and Probe are connected but only Fab was connected in the category. Removed teh connection between Fab and Probe and connected Probe to category, the slicer worked succesfully.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @kaye123 ,

 

Here I create a sample to have a test your code. I think filter from columns in related table should work. Please make sure column in the slicer filter or the page filter has relationship with 'ADYAP_Fab' and 'ADYAP_Probe'.

My Sample:

RicoZhou_0-1669960821944.png

Result is as below.

By Default:

RicoZhou_1-1669960860827.png

With Slicer Selection:

RicoZhou_2-1669960931175.png

 


Best Regards,
Rico Zhou

 

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

 

Thank you it worked. I had a lot of relationships setup. teh Fab and Probe are connected but only Fab was connected in the category. Removed teh connection between Fab and Probe and connected Probe to category, the slicer worked succesfully.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.