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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
hannahsamd
Regular Visitor

Paginated Reports optional parameter help

Hi, 

I have a report that I am builder in Power BI report builder. I have 2 parameters, Year and Quarter. I am creating quarterly and yearly reports. I want the quarter parameter to be optional so I can easily get the yearly report in the same place as the quarterly report. ANy help would be great! Right now the parameters are just drop downs

3 REPLIES 3
KVRKarthik
Frequent Visitor

Hi hannahsamd,

Follow the steps given below to achieve this.

1. Add a dataset to the report with column of Year evaluated from the Year column of the data.

2. Add another dataset with column of Quarter from the Quarter column of the data.

3. Add first parameter as "Year" with "Available Values" assigned to column from Step 1.

4. Add second paramter as "Quarter" with "Available Values" and "Default Values" assigned to column from Step 2.

5. Add these parameters as query parameters/ filters on dataset which is assigned to Tablix.

When you're willing to get Year wise, you can select only year. When you're willing to get Year-Quarter wise data, you can select both in a same report.


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

Hi! When I get to step 4, I am getting the error "Multiple values were specified for the parameter, but the parameter does not allow multiple values

To resolve this,

In parameter properties, go to "General" window, check the option "Allow Multiple Values".

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.