Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
What method is to display two distinct report templates depending on the parameters in a paginated report?
At the report parameter level, there will be a parameter called 'select student'. By default, the first option in this parameter will be 'ALL', and the rest of the options will be a list of student names.
1. The default selection for the Student option will be 'ALL', and in this scenario, a comprehensive aggregated data template containing the batch number, class strength, and list of all student names will be shown.
2. When a specific student is selected in the Paramter option, a different template displaying the details of the chosen student will be presented.
How do we achieve this in the Paginated report under-report builder?
Solved! Go to Solution.
Hi, @Lakshmanan1
Based on your description, I've used the following sample data:
I created a parameter in Report Builder with all the customer names and ALL options:
At the same time, I created two template tables:
Open the Properties toolbar, select the entire table and find the Visibility option:
=Parameters!Name.Value<>"ALL"
When I select a specific student for the entire parameter, this table is hidden, and another table is displayed:
I'm using a SQL Server source, and I don't have the ALL student in my data source, so I modified my SQL query to show all the data when ALL is selected:
Here are the results:
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you @Anonymous . Your solution works for me.
Hi, @Lakshmanan1
Based on your description, I've used the following sample data:
I created a parameter in Report Builder with all the customer names and ALL options:
At the same time, I created two template tables:
Open the Properties toolbar, select the entire table and find the Visibility option:
=Parameters!Name.Value<>"ALL"
When I select a specific student for the entire parameter, this table is hidden, and another table is displayed:
I'm using a SQL Server source, and I don't have the ALL student in my data source, so I modified my SQL query to show all the data when ALL is selected:
Here are the results:
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |