Forum Discussion

Slowpoke1's avatar
Slowpoke1
Frequent Visitor
3 years ago

Drill-through & Removing Filters

I'm struggling to get a drill-through action to work the way I want it to and I'm wondering if anyone has any suggestions.

 

On my main page I have data in a table that looks something like the below:

 

 

In a card visual, I have the measure SELECTEDVALUE(TABLE[ITEM CATEGORY])

 

The envisioned workflow is that a user clicks on a row in the table, the card populates with the item category, and the user can drill-through from the card to look at data aggregated at the category level.

 

What I'm have trouble with is removing all the filters that carry over from the drill-through. I tried creating new measures with CALCULATE(measure, REMOVEFILTERS(Sub-Category, Item Number)) and CALCULATE(measure, ALLEXCEPT(Item Category) but neither seems to work.

 

Appreciate any help on this.

2 Replies