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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
gaboya
New Member

Multiple value drill through question

Hello! My desktop report consists of a table with names, and by drilling through each name, the user gets moved to the next page, where a paginated report tailored to the selected name appears. How can I enable the user to drill through multiple names at once and get MULTIPLE reports appear, an individual paginated report page for each selected name? Thanks in advance. 

1 ACCEPTED SOLUTION
hackcrr
Super User
Super User

Hi, @gaboya 

Unfortunately, Power BI does not inherently support multi-select drill-downs any more than it supports single-select drill-downs. However, you can work around this limitation by utilizing DAX and bookmarks. Create a DAX metric that concatenates the selected names into a string. This metric will be used to pass the selected name to the paging report.

Create a metric to link selected names:

SelectedNames = 
CONCATENATEX(
    VALUES('YourTable'[Name]),
    'YourTable'[Name],
    ","
)

URL to create a metric to generate a paging report:

PaginatedReportURL = 
"your_paginated_report_url" & "?names=" & [SelectedNames]

Create Bookmarklet: creates a bookmarklet to navigate to the URL generated by the metric. this may involve using a custom button that triggers the navigation action.
Navigation Button: creates a button in the report and sets the action to navigate to the URL. binds the URL action to the metric PaginatedReportURL.

Insert a button in your report. Set the action of the button to "Web URL".
Bind the URL to the degree PaginatedReportURL measure

By using DAX metrics to connect selected names and generate URLs, combined with bookmarks and custom buttons, you can implement multi-select drill-down functionality that generates multiple paged report pages for each selected name. This approach leverages existing Power BI functionality to overcome the limitations of single-select drill-downs.

 

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

 

View solution in original post

1 REPLY 1
hackcrr
Super User
Super User

Hi, @gaboya 

Unfortunately, Power BI does not inherently support multi-select drill-downs any more than it supports single-select drill-downs. However, you can work around this limitation by utilizing DAX and bookmarks. Create a DAX metric that concatenates the selected names into a string. This metric will be used to pass the selected name to the paging report.

Create a metric to link selected names:

SelectedNames = 
CONCATENATEX(
    VALUES('YourTable'[Name]),
    'YourTable'[Name],
    ","
)

URL to create a metric to generate a paging report:

PaginatedReportURL = 
"your_paginated_report_url" & "?names=" & [SelectedNames]

Create Bookmarklet: creates a bookmarklet to navigate to the URL generated by the metric. this may involve using a custom button that triggers the navigation action.
Navigation Button: creates a button in the report and sets the action to navigate to the URL. binds the URL action to the metric PaginatedReportURL.

Insert a button in your report. Set the action of the button to "Web URL".
Bind the URL to the degree PaginatedReportURL measure

By using DAX metrics to connect selected names and generate URLs, combined with bookmarks and custom buttons, you can implement multi-select drill-down functionality that generates multiple paged report pages for each selected name. This approach leverages existing Power BI functionality to overcome the limitations of single-select drill-downs.

 

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

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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