Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to bring the lowest value of max(Data) per product, I have a table with the information:
table:
Products,
Date,
Price,
other areas...;
I will send a print to exemplify the result I want to obtain.
Thanks!
#QlikSense
Hi, @HnLima
Try this expression:
Min(If(Aggr(NODISTINCT Max(Date), Products) = Date, Price))
Att, Matheus
Hi, @HnLima
Try this expression:
Min(If(Aggr(NODISTINCT Max(Date), Products) = Date, Price))
Att, Matheus
Almost there, @MatheusC , brings the last price, but for the value that does not enter the condition it returns null, how can I deal with them?
Use the isnull function to handle nulls
ex:
if(isnull(expression),0,expression)
qlik help function isnull:
https://help.qlik.com/pt-BR/qlikview/May2023/Subsystems/Client/Content/QV_QlikView/Scripting/NULLFun...
@MatheusC
Thank you for your attention, it worked very well