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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
KPRL
Frequent Visitor

Help with DAX to pass multiple selected values from PBI slicer to Paginated report URL

Hello,

 

I am trying to pass parameters value from report slicers to paginated report. I have followed the below link and aable to do so when I am selecting single value from slicer.

Integrating Power BI report with Paginated report | Cittabase 

However, I am not able to pass multiple selections to the url. Though it open the paginated report when clicking on the button but it again ask to select parameter value to generate the report.

I am using selectedvalue function which select single value and pass it to url . But not sure how I can pass multiple  values. 

 

Below is the example of measure calculation which I am using to open the paginated report.

 

Open Report =
var A= CONCATENATE("&rp:CombinedTableSALESCONSULTANT=",SELECTEDVALUE('Combined Table'[A]))
var B=CONCATENATE("&rp:CombinedTableIFAName=",SELECTEDVALUES('Combined Table'[B]) )
var C=Concatenate("&rp:CombinedTableITR=",SELECTEDVALUES('Combined Table'[C]))
Paginated_report_url&A&B&C

 

Can anyone please me help on this ?

 

Thanks!

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @KPRL 
Please try

Open Report =
VAR Paginated_report_url = "https://app.powerbi.com/groups/6b9a-a02b--902af1f5b0ab/rdlreports/948275f3-9171-b2ce0a31e52f?ctid=f1..."
VAR A =
    CONCATENATE (
        "&rp:CombinedTableSALESCONSULTANT=",
        CONCATENATEX ( VALUES ( 'Combined Table'[A] ), 'Combined Table'[A], ", " )
    )
VAR B =
    CONCATENATE (
        "&rp:CombinedTableIFAName=",
        CONCATENATEX ( VALUES ( 'Combined Table'[B] ), 'Combined Table'[B], ", " )
    )
VAR C =
    CONCATENATE (
        "&rp:CombinedTableITR=",
        CONCATENATEX ( VALUES ( 'Combined Table'[C] ), 'Combined Table'[C], ", " )
    )
RETURN
    Paginated_report_url & A & B & C

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @KPRL 
Please try

Open Report =
VAR Paginated_report_url = "https://app.powerbi.com/groups/6b9a-a02b--902af1f5b0ab/rdlreports/948275f3-9171-b2ce0a31e52f?ctid=f1..."
VAR A =
    CONCATENATE (
        "&rp:CombinedTableSALESCONSULTANT=",
        CONCATENATEX ( VALUES ( 'Combined Table'[A] ), 'Combined Table'[A], ", " )
    )
VAR B =
    CONCATENATE (
        "&rp:CombinedTableIFAName=",
        CONCATENATEX ( VALUES ( 'Combined Table'[B] ), 'Combined Table'[B], ", " )
    )
VAR C =
    CONCATENATE (
        "&rp:CombinedTableITR=",
        CONCATENATEX ( VALUES ( 'Combined Table'[C] ), 'Combined Table'[C], ", " )
    )
RETURN
    Paginated_report_url & A & B & C
KPRL
Frequent Visitor

Hi @tamerj1 ,

 

Thanks very much . I modified the code that you suggested as below and it worked.  So, instead of "," used  "&rp:CombinedTableSALESCONSULTANT=". 

Open Report =
VAR Paginated_report_url = "https://app.powerbi.com/groups/6b9a-a02b--902af1f5b0ab/rdlreports/948275f3-9171-b2ce0a31e52f?ctid=f1..."
VAR A =
    CONCATENATE (
        "&rp:CombinedTableSALESCONSULTANT=",
        CONCATENATEX ( VALUES ( 'Combined Table'[A] ), 'Combined Table'[A], "&rp:CombinedTableSALESCONSULTANT=" )
    )
VAR B =
    CONCATENATE (
        "&rp:CombinedTableIFAName=",
        CONCATENATEX ( VALUES ( 'Combined Table'[B] ), 'Combined Table'[B], "&rp:CombinedTableIFAName=" )
    )
VAR C =
    CONCATENATE (
        "&rp:CombinedTableITR=",
        CONCATENATEX ( VALUES ( 'Combined Table'[C] ), 'Combined Table'[C], "&rp:CombinedTableITR=" )
    )
RETURN
    Paginated_report_url & A & B & C

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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