Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jônatas
Contributor III
Contributor III

Consolidado por ID

Pessoal, boa tarde. 

Preciso que o qlikview me traga o consolidado abaixo de R$5.000,00  de cada cliente (ID) ou seja, que cada valor de cada cliente seja somado e me traga somente os que forem abaixo de R$5.000,00. Como poderia fazer?

Labels (3)
1 Solution

Accepted Solutions
PrashantSangle

Hello,

where you want? in front end or in back end?

in front end, use advance set analysis

take straight table
Dimension :
1. ID
2. Cliente

Measure
=sum({<ID={"=aggr(Sum(Valor),ID)<5000"}>}Valor)

In back end
try below code

test:
Load * where Valor<5000;
LOAD Cliente,
Sum(Valor) as Valor,
ID
FROM
[C:\Users\Admin\Downloads\teste-consolidado.xlsx]
(ooxml, embedded labels, table is Planilha1)
Group By ID, Cliente
;

Regards,
Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
PrashantSangle

Hello,

where you want? in front end or in back end?

in front end, use advance set analysis

take straight table
Dimension :
1. ID
2. Cliente

Measure
=sum({<ID={"=aggr(Sum(Valor),ID)<5000"}>}Valor)

In back end
try below code

test:
Load * where Valor<5000;
LOAD Cliente,
Sum(Valor) as Valor,
ID
FROM
[C:\Users\Admin\Downloads\teste-consolidado.xlsx]
(ooxml, embedded labels, table is Planilha1)
Group By ID, Cliente
;

Regards,
Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Jônatas
Contributor III
Contributor III
Author

Olá! Muito obrigado pela ajuda, @PrashantSangle .

PrashantSangle

if it works for you then also click on like of that solution

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂