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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
BishwaR
Helper V
Helper V

Multi Parameters

I am working on Report Builder Paginated Report. I have three parameters Company Name, State and City

When I select the value for the State ( just one parameter) it asks me to input the value in the rest of the parameters also then only I can view the report.

 

Is there any way I can use the single parameter without inputting the value in the other two parameters?

 

Thank you 

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @BishwaR ,

A sample you could refer:

1. Create a main dataset and then the other filter datasets, for example we have a 2 parameters (Division and Site)

2. In the main dataset add this code 

FILTER(VALUES('Sites'[Division]),OR(@Division ="All",PATHCONTAINS(@Division,'Sites'[Division]))),
FILTER(VALUES('Sites'[Site]),OR(@Site="All",PATHCONTAINS(@Site,'Sites'[Site]))),

3. Under parameters section of the main dataset add this for the relevant parameters

=Join(Parameters!Division.Value,"|")

=Join(Parameters!Site.Value,"|")

4. Under parameters make sure that you are allowing multiple values and the available values and default values are set to the relevant parameter datasets.

 

Finally make sure that when you run the paginated report  it should give you all the results i.e. the parameters are optional and unless you select the parameters the data should not be filtered.(in my opinion, this is what you want)

 

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

 

***** Make sure that you replace the __baseUrl hyperlink with your rdl report link. The best way to do so is to run the rdl report on the power BI service and copy it.

 

2. Add the measure to pass parameters to the excel.(in my report I have downloaded a excel image and in the action select web url and select the measure you have created).

 

 

To learn more details ,refer:

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

 

Best Regards

Lucien

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.