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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

One Filter

Hi, Im currently working on a model that show the Provissions, Punishments and Recovery Punishments. I have 2 Sheets. One Sheet shows Total Provissions by client (Excel File + Base 1). Then I have Another Sheet where show the Punishments (Base 2) and Recovery Punishments (Base 3) by client too. Im stuck with the filter by client. I need to just choose one client and show all values according to Provissions Punishments and Recovery. I have some problem because I have an important field like "Periodo". I need just one filter client. Currently works if I associate Punishments (Base 2) and Recovery Punishments (Base 3) by client ("Comercio"). I left my QlikView sample.

Thank you.

1 Solution

Accepted Solutions
Not applicable

Copie otro archivo me parece
Ahi va de nuevo

View solution in original post

32 Replies
Not applicable

Hello!
The sample qvw does not have data so I cannot fully understand your problem, but I think it's the same one I had a while back.
If you can upload a new example with data so I can see the model I may be able to help
Regards

Pablo

pgalvezt
Specialist
Specialist
Author

Your request. The idea is generate 2 big fields "Periodo" And "Comercio" and change all the tables with just one clic. Periodo Works obviously Comercio gives problems with circular reference and Systhetics keys.

Thank you

Not applicable

Hello!

Using your sample data I was able to get rid of the synth keys and create a data model that makes sense. I don't know the data so I cannot figure out is this is what you need, so please let me know if it works for you
Regards

pgalvezt
Specialist
Specialist
Author

Sorry I forgot include Period in Punishments.

Thank you

Not applicable

And you want to link both periods, right?
when you filter a date, that date should apply to punisment and punishment rec?
We can do it in spanish if you want

pgalvezt
Specialist
Specialist
Author

Gracias Pablo. te explico tengo que conectarme a bases en Visual Fox Pro Ubicas esas bases? estàn en dbf. Bueno actualmente el cliente me mandó dos carpetas 2011-2012 dentro de esas carpetas están los meses y por cada mes te encuentras con 10 bases (Clientes distintos) que tienen todos los mismo campos. Para evitar repetición de campos yo estoy usando

LOAD *, 'Site' as Source;

LOAD

LOAD *, 'Sit2' as Source;

LOAD

Y asi sucesivamente para cada base a la cual me conecto. Despues tengo que pensar como dejar todo esto automático.

Bueno te comento que Lo que me interesan a mi es el periodo y el comercio)tambien vienen unas fechas que me sirven para calcular los dias de los clientes morosos. Al final tengo un Dashboard que muestra las provisiones totales, Deudas promedios, tramos por mora etc en otra pestaña tengo los castigos y la recuperación de castigo. Todo eso ya está funcionando bien y tengo todo cuadrado con el cliente. La cosa es que no puedo llegar a consolidar un solo filtro para comercio. Ya que estamos hablando de 3 grandes conexiones que contienen periodo y comercio. Tengo linkeado período eso funciona muy bien obviamente pero tambié quiero linkear comercio para castigos provisiones y recuperación de castigo.

Gracias.

Not applicable

Ya me estoy yendo a unas reuniones y hasta mañana o el jueves no lo voy a poder aplicar a tu modelo, pero si no entiendo mal, creo que lo que necesitas es que el filtro de fechas y clientes funcione para distintas fechas y los mismos clientes.
Aca tengo un ejemplo de como linkear varias fechas en un modelo donde ademas de cliente o comercio hay una casa matriz, y 4 fechas de disntintas cosas, ventas, llamadas, market share.
Espero que esto sea lo que necesitas o le puedas sacar una idea, si no la seguimos mañana
Saludos

Pablo

pgalvezt
Specialist
Specialist
Author

Gracias lo revisaré y te aviso.

pgalvezt
Specialist
Specialist
Author

Pablo, seguí tu lógica usando el código parecido pero me arroja ejecución fallida. Te adjunto todos los archivos.

Gracias.