cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Help with drillthrough filtering target table correctly

Hello


I have a page containing a table summarising some sales information by customer. For example, there is a Revenue column that simply sums all Revenue for that customer, and a "Deal Revenue" column that sums all Sales for that customer where the Sale Revenue was >= £1000:

 

image.png

I then have a page which I want to use as a drillthrough target, which lists the sales themselves and all the details about them. What I want to be able to do is drill-through contextually depending on which column the user highlights when drilling through; for example if the user right clicks the "Revenue" column I want all the sales to be returned. If the user right clicks the "Deal Revenue" column and clicks drillthrough, I want only the rows where the Sale Revenue is >= £1000 to be returned.


I could do this with a page-per-drillthrough-context (I.E. have a "Revenue" drillthrough page and a "Deal Revenue" drillthrough page) but that's clunky and annoying so I don't want to. Is there a better way to achieve that?

 

Query and raw data output if interested:

Spoiler
select
e.[Employee Key]
, e.Employee
, s.[Sale Key]
, s.[Invoice Date Key]
, c.[Customer Key]
, c.Customer
, sum(s.Quantity * s.[Unit Price]) Revenue
, iif(
sum(s.Quantity * s.[Unit Price]) >= 1000,
sum(s.Quantity * s.[Unit Price]),
null
) DealRevenue
from WideWorldImportersDW.Fact.Sale s
inner join WideWorldImportersDW.Dimension.Employee e
on s.[Salesperson Key] = e.[Employee Key]
inner join WideWorldImportersDW.Dimension.Customer c
on s.[Customer Key] = c.[Customer Key]
group by
e.[Employee Key]
, e.Employee
, s.[Sale Key]
, s.[Invoice Date Key]
, c.[Customer Key]
, c.Customer


image.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Help with drillthrough filtering target table correctly

Hi @djrscally 

Glad to hear that!

To share more ideas for other people who have similar problem,

I make a test to achieve this.

If i click on "Deal Revenue" column and drill through to Page3,

When i add "Deal Revenue" column in the visual level filter(or page level filter) on Page 3, set"Advanced filter"->not blank,

It would show correctly as you expected.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
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

2 REPLIES 2
Highlighted
Frequent Visitor

Re: Help with drillthrough filtering target table correctly

Sorry about the daft working title of the post! I have fixed it.

Highlighted
Community Support
Community Support

Re: Help with drillthrough filtering target table correctly

Hi @djrscally 

Glad to hear that!

To share more ideas for other people who have similar problem,

I make a test to achieve this.

If i click on "Deal Revenue" column and drill through to Page3,

When i add "Deal Revenue" column in the visual level filter(or page level filter) on Page 3, set"Advanced filter"->not blank,

It would show correctly as you expected.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
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

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors