The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Tom
2 years agoNew Contributor III
Parameter for SQL
When I have a BR, and need to pull in a parameter, I use the following statement or one similar, I create the parameter in a Dashboard.
'Dim scenario As String = BRApi.Dashboards.Parameters.GetLite...
- 2 years ago
Tom - Assume the below is the parameter in the BR
Dim Date As String = BRApi.Dashboards.Parameters.GetLiteralParameterValue(si, False, ParamName) In the SQL You will be calling the String WHERE SQL COL NAME = '" & Date & "'"The ParamName is created in the Dashboard Parameter.
Hope this helps!
Henning
OneStream Employee
2 years agoHi, please read this blog entry and the comments for more information on this.
SELECT Like a Boss With Query Parameters - OneStream Community (onestreamsoftware.com)
Using Query Parameters is highly recommended! 🙂
Related Content
- 2 years ago