Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello people,
I have a table in QlikView with the dimension Product and the expression stock.
when selecting any product the stock value changes.
I will list the example here
== Expression I'm using ==
IF(PRODUTO.B1_PRV1 = 0,
sum(PRODUTO.QATU_REAL * (PRODUTO.B1_UPRCDOL * vFator )) ,
sum(PRODUTO.QATU_REAL * (PRODUTO.B1_PRV1 * ((100 - vDescontoMedioTipo)/100 )))
)
Before selecting the product
After selecting the product
The problem was in the variable vFator.
Thank you!
maybe this:
=sum(
if( PRODUTO.B1_PRV1 = 0, ( PRODUTO.QATU_REAL * (PRODUTO.B1_UPRCDOL * vFator ) ),
( PRODUTO.QATU_REAL * (PRODUTO.B1_PRV1 * ((100 - vDescontoMedioTipo)/100 )) )
)
)
I hope it can helps.
Unfortunately it didn't. Do you have any other tips to help me?
The problem was in the variable vFator.
Thank you!