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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
cuseman03
Helper I
Helper I

Need help on drill-through filter

Hi,

 

Stuck on some PBI stuff and hoping all you experts can help out.  Essentially, I think what I am trying to do is like a self-join in terms of business logic.  I have 2 charts.  The top one is filtered to today dateadd(day, -0).  The bottom one, when you click one one of the records from the top table, I want to drill into that record in a line graph but I want to see drill in values for past 3 days.  Problem is when you click on the parent record it drill only into today's date because that's what the parent chart is filtered on.  I have a backend sql query bringing back the last 30 days, so the raw data is there, it's being able to manipulate a drill in view to not filter on what you're clicking on to view in the parent.  

 

 

Picture2.png

 

Thanks!

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

I think you can adapt the techniques described in https://www.sqlbi.com/articles/show-previous-6-months-of-data-from-single-slicer-selection/ . Use 'Date'[Date] on the table and 'Previous Date'[Date] on the chart.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @cuseman03,

 

Thanks @johnt75 for Addressing the issue.

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

cuseman03
Helper I
Helper I

I think this is correct but there's no way I can make it work because I can't create date tables like they have with detailed data.  My date tables only have one column  and it's just the date.

It would work even with just the date column, its just a matter of tweaking how you build the filter on the Previous Dates table

johnt75
Super User
Super User

I think you can adapt the techniques described in https://www.sqlbi.com/articles/show-previous-6-months-of-data-from-single-slicer-selection/ . Use 'Date'[Date] on the table and 'Previous Date'[Date] on the chart.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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