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
asked Nov 24, 2021 in Analytical Driver by kstang (690 points) | 1 view

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

answered Dec 20, 2021 by matmassa (4,870 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 

1,553 questions
1,017 answers
2,037 comments
2,567 users