Skip to main content

I wanted to create a KPI with reference to Variable <%= Discount %> (Users could define their Discount value). For example KPI as Actual Sales:

(KPI (Sales)- KPI(Sales)* <%= Discount %>)).

I'm able to create it in Analysis by defining Variable and adding the VARIABLE INPUT (Users may add their discounted values) Component however not in Views.

image

Hi,

 

You can try use Input Box component and 'onChange' function for that.

Variable will be updated automatically.

imageInput Box (celonis.com)

 

Regards


Hi,

 

You can try use Input Box component and 'onChange' function for that.

Variable will be updated automatically.

imageInput Box (celonis.com)

 

Regards

Agreed, don't forget to define the variable:

 

metadata: ...

variable:

- id: id-of-the-variable

name: variableName

defaultValue: myDefault

 


Hi,

 

You can try use Input Box component and 'onChange' function for that.

Variable will be updated automatically.

imageInput Box (celonis.com)

 

Regards

Hello Marcin,

 

I tried above mentioned approach, however the variable is not changing dynamically. Could you please suggest what I'm missing below ?

 

Steps I followed:

  1. Defined Variable under KM with default value 10

image2. Calling that variable in input-box.

imageAs you can see below, if I change the variable to 20, the Sales * my_var column is not updating it stays as default value i.e. Sales * default value 10

image


Hello Marcin,

 

I tried above mentioned approach, however the variable is not changing dynamically. Could you please suggest what I'm missing below ?

 

Steps I followed:

  1. Defined Variable under KM with default value 10

image2. Calling that variable in input-box.

imageAs you can see below, if I change the variable to 20, the Sales * my_var column is not updating it stays as default value i.e. Sales * default value 10

image

@marcin.szcze12 @hanna.franz Could you please let me know what I'm missing in above steps ?


Hello Marcin,

 

I tried above mentioned approach, however the variable is not changing dynamically. Could you please suggest what I'm missing below ?

 

Steps I followed:

  1. Defined Variable under KM with default value 10

image2. Calling that variable in input-box.

imageAs you can see below, if I change the variable to 20, the Sales * my_var column is not updating it stays as default value i.e. Sales * default value 10

image

@gundappa.s11 Sorry for replying so late, if you still have problems with changing variable could you please share printscreens once again as I can not see them?

image


Hello Marcin,

 

I tried above mentioned approach, however the variable is not changing dynamically. Could you please suggest what I'm missing below ?

 

Steps I followed:

  1. Defined Variable under KM with default value 10

image2. Calling that variable in input-box.

imageAs you can see below, if I change the variable to 20, the Sales * my_var column is not updating it stays as default value i.e. Sales * default value 10

image

@marcin.szcze12 Please find the below printscreens for your reference.

image 

image


Reply