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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Paginated Report URL using MultiSelect Power BI Slicer

Hi Community,

 

I am trying to create dynamic URL for paginated report based on my selections in Power BI report(pbix).

 

I have multiselect country slicer and now i want generate dynamic URL for paginated report based on my selections in Power BI Country Slicers.

let's say i have selected India and US in country dropdown.

 

I tried to concatenate my selections using "+" delimiter but still no success. I want the dynamic repetation of parameter and value  pair based on number of multi-select values.

 

My output should be: PaginatedReportURL?rp:country=India&rp:country=US

 

Thanks,

Pravin

1 ACCEPTED SOLUTION

Hi, 

That post is still covering Power BI Desktop to Paginated Report. You need to create a measure to get all the filter value and frame the URL like below.

 

Things to do in the PBI reoprt

1.Create a measure to export 

 

Excel Export URL =

VAR __Division =
IF (
NOT ( ISFILTERED ( Sites[Division] ) ),
BLANK (),
"&rp:Division="
& CONCATENATEX ( ALLSELECTED ( Sites[Division] ), Sites[Division] , "&rp:Division=" )
)

VAR __Site =
IF (
NOT ( ISFILTERED ( Sites[Site] ) ),
BLANK (),
"&rp:Site="
& CONCATENATEX ( ALLSELECTED ( Sites[Site] ), Sites[Site], "&rp:Site=" )
)
 
 

VAR __FinalURL = CONCATENATE(__baseURL, "&rdl:format=EXCELOPENXML")

RETURN
__FinalURL
 
Thanks
Hari

View solution in original post

4 REPLIES 4
Hariharan_R
Solution Sage
Solution Sage

Hi

Refer the below post which is relevant to your scenario to handle the multiple values in DAX Measure and frame the URL.

https://community.powerbi.com/t5/Desktop/Paginated-report-with-multi-valued-parameter-not-working/m-...

 

Thanks

Hari

Anonymous
Not applicable

Hi,

 

Actually in above post he was trying to pass parameters from paginated report to Power BI but in my case i want to do it vice versa that is power bi filters to paramters of paginated report.

 

 

Thanks,

Pravin

Hi, 

That post is still covering Power BI Desktop to Paginated Report. You need to create a measure to get all the filter value and frame the URL like below.

 

Things to do in the PBI reoprt

1.Create a measure to export 

 

Excel Export URL =

VAR __Division =
IF (
NOT ( ISFILTERED ( Sites[Division] ) ),
BLANK (),
"&rp:Division="
& CONCATENATEX ( ALLSELECTED ( Sites[Division] ), Sites[Division] , "&rp:Division=" )
)

VAR __Site =
IF (
NOT ( ISFILTERED ( Sites[Site] ) ),
BLANK (),
"&rp:Site="
& CONCATENATEX ( ALLSELECTED ( Sites[Site] ), Sites[Site], "&rp:Site=" )
)
 
 

VAR __FinalURL = CONCATENATE(__baseURL, "&rdl:format=EXCELOPENXML")

RETURN
__FinalURL
 
Thanks
Hari
Anonymous
Not applicable

That's Great.

 

It is working as expected. Now my only concern is , Is there any limitation on URL lenght and if yes, what is the limitation and How to hide Parameter section using URL.

I have tried rdl:parameterPanel=hidden.

 

Thanks,

Pravin

Helpful resources

Announcements
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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