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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Ritesh_Air
Post Patron
Post Patron

Paginated Report - Snowflake SQL as data source

Has anyone used Snowflake SQL as a datasource for their Paginated report?

I am trying to do the cascading prompts and get the value from one query and putting it in the 2nd one but getting issue.

Here is more detail:

Here are the steps I have done:

1. Data Source connection is : ODBC/Snowflake.
2. First dataset: Simple SQL query to get "Parent" Info.

 

select RETAILER_NAME
from table where Enrollment_Year = 2022

3. Second dataset: Simple SQL query where I am referencing the parameter. In this case, it is :Parent


select Program_Group_Name
from "table" where Enrollment_Year = 2022 and Retailer_Name = :Parent

I have Parameter here:

 

 

 

Ritesh_Air_0-1666762062927.png

 

Defined it Here:

 

Ritesh_Air_1-1666762161114.png

 

 

Ritesh_Air_2-1666762366229.png

 

Here is the RDL report for reference.

https://drive.google.com/file/d/1QFjCHQOdqUKIov_ST5iY6vf6RxlEkkNq/view?usp=sharing

 

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

Not all ODBC drivers support parameters in the same way. You could possibly try using ? as a positional parameter in your query instead of using :Parent 

 

This appears to have worked for this person Solved: Re: Using ODBC to Snowflake as a Datasource within... - Microsoft Power BI Community

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

Not all ODBC drivers support parameters in the same way. You could possibly try using ? as a positional parameter in your query instead of using :Parent 

 

This appears to have worked for this person Solved: Re: Using ODBC to Snowflake as a Datasource within... - Microsoft Power BI Community

@d_gosbell You were god send. This is exactly what I was looking for. The link and the youtube video were very helpful.

 

Thank you so much! I might tag you about Row Level security in Pagainted report next 🙂 to see if you have pointers. 

 

-EZ

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.