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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Technique to use captured filters from Drillthrough, on another visual

Greetings, I was trying to search for a good approach to capture filters and reuse them in filtering another table. 

 

Here are the details.

These are some filters that i can pass through a drillthrough from a visual on Table1 (page1), to a visual on Table2 (page2).

It works good and gives me a filtered table visual on table 2. Here is a screensnip of filters affecting the visual.

mjsushanth_0-1631787938265.png

 

Table2 Visual (page 2) :-

I successfully obtain filtered items on Table2 Visual. 

mjsushanth_1-1631788153930.png

 

I can also successfully capture them with Selected Value function on page2.

mjsushanth_2-1631788443849.png

 

What i would like to achieve is, i have a summarized dax table. - Table 3. 

Table3 has [SourceAndID] column, just like Table2

Table2 and Table3 have a relationship in the data model as well. (attached below)

 

Table2 has duplicates of SourceAndID for my requirement and this is why i need to capture the distinct [SourceAndID] list after the drillthrough, and filter my Table3.

 

-- > My approach has been around using Selected Value ; then using

        var1 = selectedValue ( tablex[item1] ) , var2 = selectedValue( tabley[item2] ) . . .

        CALCULATETABLE ( Values ( [SourceAndID], FilterCondition1 = var1 , FilterCondition2 = var2 )



Further infos on the data model : 

They do not have a direct relationship but a small dimension/bridge table with distinct values help me establish a relationship.
I am also making sure to use the column taken from the smaller table in my visuals. 

mjsushanth_3-1631789233727.png

 

 

I've had ideas if i could capture the distinct list of required column values with virtual tables and see if i can apply them on visual 3. But i have had no luck about it. 


Sample Result! :

Table2 is in this shape after the drillthrough filters.

mjsushanth_0-1631790232965.png

 

Table3 desired result :

mjsushanth_1-1631790305776.png

 

 

 


Any suggestions, approaches and help are greatly appreciated!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've got an answer to this. It was fairly easy and something i missed from the Relationship model and not DAX.

The answer : 

Just make sure the source table from which a filter / resultant filter / criteria propagates !! is bidirectional, 

Then the target dimension/fact/table will get filtered automatically. 

mjsushanth_0-1631798977605.png

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I've got an answer to this. It was fairly easy and something i missed from the Relationship model and not DAX.

The answer : 

Just make sure the source table from which a filter / resultant filter / criteria propagates !! is bidirectional, 

Then the target dimension/fact/table will get filtered automatically. 

mjsushanth_0-1631798977605.png

 

Hi , @Anonymous 

Glad to hear that the problem was solved! Thank you for sharing.

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.