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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
skiier1234
New Member

Filter context needed for drill through

Hello!

 

I have a dataset of accounts and balances that I want to filter to just the newly created accounts within a selected time period. I've accomplished that with DAX for the measures displayed in a table, but when I drill through to the rest of the account details, the filter context in the measure doesn't carry into the drill through.

 

I'm defining "New accounts" by if they were open between the dates selected.

 

Here's an example of one of the measures: 

 

End Date Balance Daily NEW ACCOUNTS =
VAR SelectedStartDate = MIN(_Calendar[Date])
VAR SelectedEndDate = MAX(_Calendar[Date])

RETURN 
CALCULATE( 
SUM('Fact table'[Balance]), 
'Fact table'[Full Date] = SelectedEndDate, 
'Fact table'[Account Open Date] <= SelectedEndDate, 
'Fact table'[Account Open Date] > SelectedStartDate ) 

So my question is: how can I filter the drill through (or the main page and have the drill through keep the page filters)?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @skiier1234 

When using drill through, filters created within a measure with CALCULATE are not passed to the drill through page. Only filters from the report itself can be passed, i.e. fields in the visual itself, slicers, other filters.
In this post proposes a solution by using a measure on the drill through page that replicates the filter on the original visual:
Solved: Drillthrough on measure with dax filter context no... - Microsoft Fabric Community

And about the ‘KEEPFILTERS’ in the DAX, you can refer to this document.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn

Best Regards,

Dino Tao

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

1 REPLY 1
Anonymous
Not applicable

Hi @skiier1234 

When using drill through, filters created within a measure with CALCULATE are not passed to the drill through page. Only filters from the report itself can be passed, i.e. fields in the visual itself, slicers, other filters.
In this post proposes a solution by using a measure on the drill through page that replicates the filter on the original visual:
Solved: Drillthrough on measure with dax filter context no... - Microsoft Fabric Community

And about the ‘KEEPFILTERS’ in the DAX, you can refer to this document.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn

Best Regards,

Dino Tao

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




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors