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.
Can anyone please me help on this ?
Thanks!
Solved! Go to Solution.
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
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
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
User | Count |
---|---|
90 | |
32 | |
32 | |
17 | |
13 |
User | Count |
---|---|
98 | |
27 | |
21 | |
16 | |
16 |