Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Where do you want to use this expression? What are your dimensions? Is MES field of numerical type?
You could give this a try:
= sum({<MES = {$(=min(MES))}>} QTYAVAILUM)
Regards,
Stefan
Where do you want to use this expression? What are your dimensions? Is MES field of numerical type?
You could give this a try:
= sum({<MES = {$(=min(MES))}>} QTYAVAILUM)
Regards,
Stefan
Thanks swuehl,
That works!!!!
I think the problem in your original expression is that you are using an aggregation function (min) within an aggregation function (sum), which will not work. You should get an error in expression dialog, right?
You could use a dollar sign expansion like
Sum(If(MES=$(=MIN(MES)),QTYAVAILUM))
to overcome this, here, I believe Min(MES) will be evaluated in global context (also in the set expression above).
You're right, i'm new in this...
That works too, thnks!