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: 
Not applicable

To filter expressions but not dimensions

Hi, I have a problem that, siplified is:

I have the nex script to load data:

Clientes:

Load * ;

SELECT NombreCli,CodigoCli from Cliente;

Empresas:

LOAD * ;

SELECT CodigoCli,Empresa,Cantidad from Empresa;

In the document, I have a filter by Empresa, and a pivot table with CodigoCli, NombreCli as dimensions, and =sum(Cantidad) as expression. I want that the filter affects to expression, but I want see always the Code and Name of the customer. I only get that:

Captura.PNG.png

If I select a Empresa, I see the customer code, but not the name. How can I get the code and the name independently of the filter.

I attach a .qvw with the example.

Thanks.

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

4 Replies
tresesco
MVP
MVP

With a small trick, like attached:

Not applicable
Author

Thanks, it's a good solution, but I need a pivot table, not a straight table.

tresesco
MVP
MVP

Well:

=Only({1} Aggr(sum(Cantidad), CodigoCli,NombreCli))



anbu1984
Master III
Master III

Check this