cancel
Showing results for 
Search instead for 
Did you mean: 

Parametrized scripted calculation view used in graphical calculation view

Former Member
0 Kudos

Hi,

I need to use a scripted calculation view (because of complex join conditions) in a graphical calculation view (so I can use a counter and the if() syntax in a calculated measure). I am using SP4.

- The scripted CV has (mandatory) input parameters.

- Data selection from the scripted CV using parameters works as expected.

- When I drag the scripted CV to the design pane of a graphical CV, the input parameters appear in the Input Parameters Folder as expected.

- For testing, the graphical CV does nothing except for mapping the output of the scripted CV straight to the output node.

When I try to select from the graphical CV, it forces me to provide the parameters (so far, so good). However, the selection returns 0 rows, no matter what I use as the parameter values. Even the same values which return data when used with the scripted CV return nothing. This is really surprising to me, as the graphical CV does nothing but map the output of the scripted CV straight to its own output.

Am I missing something? Do you have any idea what could cause this?

Thanks in advance and best regards

Roman

Accepted Solutions (0)

Answers (3)

Answers (3)

SergioG_TX
Active Contributor
0 Kudos

I agree with Shakti, your (mandatory) input parameters are case sensitive unless you change the parameter Case sensitive as he mentioned

0 Kudos

Hi Roman,

I am modelling in SP9 and have consumed graphical view in scripted view. I am facing the exact same issue as you were. Can you please help me with the way you resolved the issue.

Thanks in Advance

Regards,

Shakti

0 Kudos

Hi Roman,

I have resolved the issue.

1. I went into Script View

2.Went to semantics.

3.Then into Properties

4.In "parameter Case Sensitive" row ,I changed it to true(instead of false).

Then I mapped this Script View input parameters in another graphical View input parameters and got the result.

Regards,

Shakti

Former Member
0 Kudos

Hi Roman,

Would you be able to provide any screenshot for your issues? That would much more easier for us to help you solve the issue.

Best,
Rocky