on 06-08-2015 12:06 PM
Hello everybody,
I want to create a Dimension object "INPUT" of type Number with the Prompt function in the Universe
Adding this object in the report.
When I execute the report, it will prompt ' INPUT A NUMERIC VALUE :' Once I enter a numeric value into the Dimension object "INPUT" , It will calculate a "ratio" using a function which use the numeric value of the the Dimension object "INPUT" .
I will show the new calculate value "ratio" in the report.
In the where clause of the properties of the new Dimension object "INPUT"
I write the sentence :
@prompt('INPUT A NUMERIC VALUE : ', 'N', 'Documentos_validos1\INPUT', mono, constrained) but I get one error invalid definition UNV0023
Am I writting the @prompt correctly ?
How can I solve this trouble?
I am using MySQL as Data Base
Thanks in advance.
Best Regards.
Antonio
You haven't said what you want your @prompt to equal in your where clause.
As a side issue, it's not good practice to use the where clause as you could end up with incorrect data when using more than one object with where clauses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To do this in a web-I report:
I've explained about how to achieve this static standalone prompt in web-I in the following post.
The post will refer to a date object, just replace it with a "number" dimension and you should be able to achieve what you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, but
I dont want to put any restriction just to to create a Dimension object "INPUT" of type Number with the Prompt function in the Universe where I can enter any numeric value into the Dimension object "INPUT" in order to calculate a ratio using a function which use the numeric value of the the Dimension object "INPUT" and to show the new calculate value "ratio" in the report.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.