Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody! I´m creating a simple table and I have already define differents expressions to show in the table. One expression I have to put is " Value of Production in Dollars". For this, I have the fields "Value of Production in Mexican Pesos" and the "Exchange Rate" for the 3 year I´m analysing. To create the expression "Value of Production in Dollars" I used the following expression: Sum ([Value Produccicion (Miles de Pesos)])/Avg ([Exchange Rate]).
Is that correct? I suppose that´s right when I´m analysing the 3 years together, but when I select one year, for example 2009, the value will be deflated by yhe avarage Exchange Rate of the three years or only de Exchange Rate of 200)?
Thank you very much!
Juan Francisco.
---
Hola a todos! Estoy creando una tabla simple donde ya introduje varias expresiones. Una de las cuales tengo que usar es "Valor de Producción en Dólares". Para poder crear este indicador, tengo los campos "Valor de Producción en Pesos Mexicanos" y "Tipo de cambio" para 3 años distintos. Entonces, creé la expresión "Valor de Producción en Dólares definiendo la siguiente expresión: Sum ([Valor Producción(Miles de Pesos)])/Avg ([Tipo de Cambio]).
Quisiera saber si dicha expresión es correcta? Supongo que cuando analizo todos los años en conjunto estoy deflactando bien, pero por ejemplo si elijo el 2009, los valores se deflactarán por el Tipo de Cambio del 2009 o por el promedio del Tipo de Cambio de los 3 años que tengo?
Muchas gracias,
Juan Francisco.
QlikView will calculate Avg ([Exchange Rate]) for the selection you are making.
If you select 3 years, will be 3 years. If you select one year, will be one year.
If you want something different, you´ll need Set Analysis
Hi,
this new blog post may help you:
http://community.qlik.com/blogs/qlikviewdesignblog/2013/09/09/aggregation-scope
Regards,
Brice
QlikView will calculate Avg ([Exchange Rate]) for the selection you are making.
If you select 3 years, will be 3 years. If you select one year, will be one year.
If you want something different, you´ll need Set Analysis