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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Pavan_123456789
Helper II
Helper II

Assistance with Setting Default Parameter to "All" in Paginated Reports

I am currently working with multiple text parameters (such as Country, Customer, and Category) in a paginated report and would like to set "All" as the default selection for these parameters. Could you please confirm if it's possible to configure this in the report? Additionally, any guidance or steps you could provide would be greatly appreciated.

Thank you for your support. I look forward to your response.

5 REPLIES 5
v-xuxinyi-msft
Community Support
Community Support

Hi @Pavan_123456789 

 

The following testing is for your reference.

 

My data source is SQL Server and then I configured two parameters.

vxuxinyimsft_4-1727673550855.png

 

vxuxinyimsft_5-1727673583895.png

 

1. Configure each of them as shown below.

vxuxinyimsft_1-1727673223491.png

 

vxuxinyimsft_2-1727673254259.png

 

vxuxinyimsft_3-1727673333217.png

 

The Customer parameter is configured the same way.

vxuxinyimsft_6-1727673937936.png

 

vxuxinyimsft_7-1727673963142.png

 

vxuxinyimsft_8-1727673974005.png

 

Output:

vxuxinyimsft_9-1727674156785.png

 

Best Regards,
Yulia Xu

 

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

Hi @v-xuxinyi-msft ,

Thank you for your previous response. I followed the steps you outlined, and they were very helpful. However, I encountered one issue:

When no customer is selected, it defaults to "ALL" as expected. But when I select a particular customer, the data still reflects all customers rather than the selected one. It seems that the filter for specific customer data is not being applied.

Could you please assist me in resolving this issue?

 

Hi @Pavan_123456789 

 

The following test is for your reference:

 

Extract the corresponding fields of the parameters as separate datasets.

vxuxinyimsft_0-1728029708254.png

 

vxuxinyimsft_1-1728029757037.png

 

vxuxinyimsft_2-1728029809700.png

 

Create corresponding parameters, allowing multiple selections for the parameters, and their available values ​​(Available Values) and default values ​​(Default Values) come from the corresponding dataset.

vxuxinyimsft_13-1728030847346.png

 

vxuxinyimsft_3-1728029830731.png

 

vxuxinyimsft_4-1728029850859.png

 

vxuxinyimsft_5-1728030272678.png

 

vxuxinyimsft_6-1728030285449.png

 

vxuxinyimsft_7-1728030307545.png

 

Create a filter for the Dataset containing all fields.

vxuxinyimsft_8-1728030357407.png

 

vxuxinyimsft_10-1728030399365.png

 

vxuxinyimsft_11-1728030446480.png

 

It should be noted here that in my test, when I select the value of parameter, it will display "=Parameters!Country.Value(0)" by default. The 0 in the brackets represents the first data in the table. If it is in this format, then the report will only display the first data even if all parameters are selected, so we need to remove the brackets so that all the data can be displayed.

vxuxinyimsft_12-1728030724637.png

 

Output:

vxuxinyimsft_14-1728030914199.png

 

vxuxinyimsft_15-1728030939533.png

 

Best Regards,
Yulia Xu

 

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

Hi @v-xuxinyi-msft ,
Thank you for your response.
Could you please clarify how you used the following SQL query?

SELECT test_Default_Paginated.Customer
FROM test_Default_Paginated
Is this taken from SQL Query?If yes what steps i need to  follow?

Hi @Pavan_123456789 

 

The SQL statement I used is just to make the value of the column as parameter come from a separate dataset. The column is extracted from the data source table to make it a separate dataset.

vxuxinyimsft_2-1728270465282.png

 

In my test, the data source I used is SQL Server. The following is the data table I used.

vxuxinyimsft_0-1728269713438.png

 

You just need to make the value of the column used as a parameter come from a separate dataset instead of the same dataset as the one that needs to be filtered.

 

If the value of the parameter is not a separate dataset, the following error will be reported when running this report.

vxuxinyimsft_1-1728269800105.png

 

Best Regards,
Yulia Xu

 

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors