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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-rzhou-msft
Community Support
Community Support

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
v-rzhou-msft
Community Support
Community Support

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors