Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
For example , I can use the

query = query.replace ('p_client_id',parameters.get('client_id'));

in Dataset scripting

or

I am use

select * from my_table where id =  $P{client_id}

or

in cockpic dataset config , I can use  $P{client_id}  for input parameter

so I want to ask if it is possible for me to declare the global constant setting , that best to have configrable in db
Environment knowage 8.0.1 , windows 10
in Analytical Driver by (690 points)

1 Answer

0 votes

Dear kstang,

I'm not sure about this question (please explain me better if I didn't understand), if you want to use a parameter and you want to fill it only in a single place, you can use Profile Attributes

If you want to declare a variable using $P{} as name in order to use it everywhere it is not possible.

Regards

Matteo

by (4.9k points)

I want to have something syntax like $P{} that value is the same for which I can use across all the data set , value may be some global constant for all dateset 

...