Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Input Field em grafico

Bom Dia Pessoal tudo bom ?

Hoje eu venho uma duvida mais legal, negócio e o seguinte, eu tenho um campo com itens ele possui por exemplo: regua, caneta, lapis, caderno ( inicialmente) e eu preciso desenvolver uma calculadora que  : o usuário irá digitar a qtd do item + valor de custo e gerar o valor total do item como exemplo abaixo:

Item    ------- Qtd ------- valor ---- total

Caneta ---     10  ------   0,20   = 2,00

Regua  ---     15  ------   0,30   =  4,50

Caderno ---   10  ------   1,20   =  10,20

Lapis   ---     10  ------   0,10   = 1,00


Como fazer isso no Qlikview? para item que possui ?

Labels (4)
13 Replies
Not applicable
Author

Maybe is because of my Qvd file?
Could be that ?

sunny_talwar

You are loading data from a qvd? I don't think that should be an issue also. Not entirely sure what the issue is until I see exactly what you are doing.

Not applicable
Author

I Discovery the Problem


I Doing

INPUTFIELD nQuantidade;

INPUTFIELD nValor;

TmpItem:

LOAD Distinct    

     cItem    

FROM

(qvd);

Item:

LOAD

  cItem,

  0 as  nQuantidade,

  0 as  nValor

Resident TmpItem;

That Way for some reason not work just work when i use:

INPUTFIELD nQuantidade;

INPUTFIELD nValor;

TmpItem:

LOAD Distinct    

     cItem    

FROM

(qvd);

Item:

LOAD Distinct

  cItem,

  0 as  nQuantidade,

  0 as  nValor

Resident TmpItem;

I have to use 2 times distinct  O.o

Thx for the help

sunny_talwar

Not a problem, I am glad I proved to be of help.

Best,

Sunny