Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Ayuda con funcion/ Help with function

Hola,

Estoy tratando de hacer el calculo de un INDICE DE CARTERA ACTIVA, pero este debe ser anual. Estoy usando esta función:

sum({<DiasAtraso={'>30'}>}Saldo_Cartera)/sum({$<[Año Inicio Credito]={$(=MAX([Año Inicio Credito]))}>}Saldo_Cartera)

Pero no hace el calculo anual, ya que si selecciono mes o trimestre vuelve a realizar el calculo. ¿qué debo agregar o modificar para que solo realice el calculo anual?

Gracias.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hi,

I´m trying to calculate INDICE DE CARTERA ACTIVA, but calculation must be by year. I´m using this function:

sum({<DiasAtraso={'>30'}>}Saldo_Cartera)/sum({$<[Año Inicio Credito]={$(=MAX([Año Inicio Credito]))}>}Saldo_Cartera)

But this fuction don´t make the calculation by year, if I select one month or quarter the calculation is modificated. What must add  or modificate to this function?

Thanks

1 Reply
Not applicable
Author

No se si te he entendido perfectamente, pero si quieres que el calculo no cambia aunque hay seleciones, podrias poner el identificador '1' , por ejemplo:

sum({1<DiasAtraso={'>30'}>}Saldo_Cartera)/sum({$<[Año Inicio Credito]={$(=MAX([Año Inicio Credito]))}>}Saldo_Cartera)

Matt