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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ldwf
Helper V
Helper V

Report Builder-Cascading Prompt

I have a simple Report Builder report with two report parameter prompts.  The queries to build the parameters are in SQL.  One prompt is Product Type, with values such as '4 Door' '2 Door', and 'All Types'.  The child prompt is the Make.  Currently the child prompt shows all makes regardless of the product type select.  I can change the child SQL query to only show the makes associated with what was selected in the product type parameter, but when the user selects 'All Types' in the product type parm, I want all the makes to appear in the child parameter.  Instead, the child parameter is not showing anything when I select 'All Types'.  I've tried changing the SQL using a CASE statement but it doesn't work

2 ACCEPTED SOLUTIONS
Poojara_D12
Super User
Super User

Hi @ldwf 

In Report Builder, when working with cascading parameters—like a Product Type parent and a Make child—it’s common to filter the child parameter based on the selected value of the parent. In your case, the issue arises because the SQL query for the Make parameter doesn't return any results when "All Types" is selected in the Product Type parameter. This usually happens when the SQL filter doesn’t correctly account for the "All Types" option. To fix this, your SQL query for the Make parameter should be modified to handle the special "All Types" value explicitly. One effective approach is to use a condition like:

WHERE (@ProductType = 'All Types' OR ProductType = @ProductType)

This way, if the user selects "All Types", the condition resolves to TRUE for all rows, and the query returns all makes. If a specific type like "2 Door" or "4 Door" is selected, it filters accordingly. Avoid using CASE statements in the WHERE clause directly for filtering unless you're returning static values; conditional logic like the one above is more effective for dynamic filtering in parameter-driven queries. Also, ensure that "Allow multiple values" is unchecked if you're only supporting single selections for each parameter. This approach should enable your child parameter (Make) to correctly reflect all options when "All Types" is chosen.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

View solution in original post

v-dineshya
Community Support
Community Support

Hi @ldwf ,

Thank you for reaching out to the Microsoft Community Forum.

 

Hi @Poojara_D12 , Thank you for posting response in this community.

Hi @ldwf , In addition to @Poojara_D12  response , i am adding microsoft official documents.

 

Please refer below Microsoft official documents.

Add cascading parameters to a paginated report - Microsoft Report Builder & Power BI Report Builder ...

Paginated report parameters in Report Builder - Microsoft Report Builder & Power BI Report Builder |...

 

If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

View solution in original post

3 REPLIES 3
v-dineshya
Community Support
Community Support

Hi @ldwf ,

Thank you for reaching out to the Microsoft Community Forum.

 

Hi @Poojara_D12 , Thank you for posting response in this community.

Hi @ldwf , In addition to @Poojara_D12  response , i am adding microsoft official documents.

 

Please refer below Microsoft official documents.

Add cascading parameters to a paginated report - Microsoft Report Builder & Power BI Report Builder ...

Paginated report parameters in Report Builder - Microsoft Report Builder & Power BI Report Builder |...

 

If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

Poojara_D12
Super User
Super User

Hi @ldwf 

In Report Builder, when working with cascading parameters—like a Product Type parent and a Make child—it’s common to filter the child parameter based on the selected value of the parent. In your case, the issue arises because the SQL query for the Make parameter doesn't return any results when "All Types" is selected in the Product Type parameter. This usually happens when the SQL filter doesn’t correctly account for the "All Types" option. To fix this, your SQL query for the Make parameter should be modified to handle the special "All Types" value explicitly. One effective approach is to use a condition like:

WHERE (@ProductType = 'All Types' OR ProductType = @ProductType)

This way, if the user selects "All Types", the condition resolves to TRUE for all rows, and the query returns all makes. If a specific type like "2 Door" or "4 Door" is selected, it filters accordingly. Avoid using CASE statements in the WHERE clause directly for filtering unless you're returning static values; conditional logic like the one above is more effective for dynamic filtering in parameter-driven queries. Also, ensure that "Allow multiple values" is unchecked if you're only supporting single selections for each parameter. This approach should enable your child parameter (Make) to correctly reflect all options when "All Types" is chosen.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
GilbertQ
Super User
Super User

Hi @ldwf 

 

What you're looking for is cascading parameters. Here is a blog post expanding how to get this done. Cascaded Parameters in SSRS





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.