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!