cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Passing Parameter from SSRS to Databricks user defined function

Samit110978
New Contributor II

I am trying to pass parameter from SSRS to User Defined Function in Databricks which in turn will return table that will be shown as output in report.

I tried below calling function from SSRS, but it looks like parameter value is not passed. I have directly executed this function in Databricks and it works fine.

Dataset:

SELECT  *

FROM      <Schema>.<UDF> ('{Date1}}')

Parameters Tab in Dataset:

ParameterName : @Date1

ParameterValue: '{Date1}}'

Parmeters:

Name: Date1

3 REPLIES 3

Aviral-Bhardwaj
Esteemed Contributor III

can you share full code and dataset by that we can also debug this

Thanks Aviral. I found the solution.

AEW
New Contributor II

Hi Samit, could you explain your solution? I'm having the same problem. Thank you!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.