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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
v-merpet
Employee
Employee

Filtering across tables with Visuals for Progressive Data.

I am trying to see all of my Members that have come thru my process. When I select Team B here I want to see all of the tenants that are in Team A as well as Team C if they transitioned. If they came in on Team B I want just that data but if in any instance of Team A or C they appear I want them to render.Pre selectionPre selection

 

Here we want to see the 12 that are in Team B and any of those 12 that came from Team A as well As any that went to Team C.

Post SelectionPost Selection

However because of the Table level filters to demonstrate the Teams I am not able to determine how to create a view that presents a progressive session. 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @v-merpet,

Current, slicer/filters do not support except filter effect.
I'd like to suggest you write a measure with except function to get the reverse result as a filter and use on the visual level filter of your visuals. (please break the relationship from the slicer to current visual)

Measure =
VAR selected =
    VALUES ( Selector[Column] )
VAR revSelected =
    EXCEPT ( ALL ( Table[Column] ), selected )
VAR currItem =
    SELECTEDVALUE ( table[column] )
RETURN
    IF ( currItem IN revSelected, "Y", "N" )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

5 REPLIES 5
v-shex-msft
Community Support
Community Support

HI @v-merpet,

Current, slicer/filters do not support except filter effect.
I'd like to suggest you write a measure with except function to get the reverse result as a filter and use on the visual level filter of your visuals. (please break the relationship from the slicer to current visual)

Measure =
VAR selected =
    VALUES ( Selector[Column] )
VAR revSelected =
    EXCEPT ( ALL ( Table[Column] ), selected )
VAR currItem =
    SELECTEDVALUE ( table[column] )
RETURN
    IF ( currItem IN revSelected, "Y", "N" )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Pure Genius, This worked perfectly and was so elegant. Thank you so much for teaching me more about this function.

amitchandak
Super User
Super User

Can you share data model and sample data

This is testing data and it lives on a single table for a feasability study. One Table - Two columns : Team Name and Client Name. The Progression Breakout Table is Team to Count of Tenant Name. Tables A B and C are Tenant Name filtered by associated Team. So a client can start in Team B and progress to Team C. Or they can be in Team A and move through B to C. (No current additional tables and no relationships engaged. Always forward progression as later dates we will be adding more team sequences.) 

Progression Breakout.PNG

** I corrected the name on this visual to eliminate any confusion.

Hey I think you might have answered this before and I just stumbled across it here:

https://docs.microsoft.com/en-us/dax/except-function-dax

 

Thoughts?

- M

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.