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
vistacruise
Regular Visitor

Excluding an item based on an association when other associations may exist

 

I have two simple tables:

ItemName
1A
2A
3A
1B
2B
1C
2D

 

ItemOrder
110
220
330

 

I want to create a visual that shows the items that are NOT associated at all with a Name.  For example, if I choose to exclude name B, I want to see Item 3, Order 30 and nothing else.  I'm not sure what this kind of filter is called, so I'm having trouble searching for help on the topic.  If I try selecting all names except name B, I still get all of the items and order since they are also associated with the other names.

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @vistacruise 

 

You can try the following methods.

Measure = IF(SELECTEDVALUE(Table2[Item]) in VALUES(Table1[Item]),0,1)

vzhangti_0-1687311227377.pngvzhangti_1-1687311247018.png

 

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

 

Hi, @v-zhangti 

This does appear to "sorta" work, but it is having some bizarre effects on other columns in the Item/Order table that I wish to display.  For example, I have a field that is calculated in the load script with a resultant number. It is showing as blank in each row of the table now.  This makes no sense to me whatsoever.

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.