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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

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
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

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.

Anonymous
Not applicable

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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