Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi all ,
I have using this expression to find the max amount
max(aggr(sum({<model = {'SB42'},country = {'India'}>}Amount),Product_Desc,Product_Order)
how i find the max amount Product_Order
Hi,
Try this one
=SUM({$<Product_Order={"=Rank(aggr(sum({$<model = {'SB42'},country = {'India'}>}Amount),Product_Desc,Product_Order))=1"}>}Amount)
try this
max(aggr(sum({<Product_Order=p({1<model = {'SB42'},country = {'India'}>}Product_Order)>}Amount),Product_Desc,Product_Order)
hi Natrajan,
SB47 BLADE | 6395003789 | 23.32 |
SB47 BLADE | 4395089177 | 23.28 |
SB47 BLADE | 6395003788 | 23.15 |
SB47 BLADE | 4395089176 | 23.10 |
SB47 BLADE | 6395003790 | 23.07 |
SB47 BLADE | 4395089263 | 23.03 |
SB47 BLADE | 6395003791 | 22.91 |
SB47 BLADE | 4395089019 | 22.87 |
SB47 BLADE | 6395003792 | 22.78 |
SB47 BLADE | 6395003793 | 22.74 |
SB47 BLADE | 4395089050 | 22.73 |
SB47 BLADE | 4395089051 | 22.70 |
SB47 BLADE | 6395003794 | 22.49 |
SB47 BLADE | 4395089301 | 22.45 |
SB47 BLADE | 6395003796 | 22.42 |
SB47 BLADE | 6395003795 | 22.40 |
SB47 BLADE | 4395089347 | 22.37 |
SB47 BLADE | 4395089302 | 22.36 |
SB47 BLADE SERVICE KIT | 4395093412 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093416 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093418 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093414 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093411 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093417 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093419 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093415 | 0.11 |
SB47 BLADE SERVICE KIT | 4395093413 | 0.11 |
this is my data formate
i want to bold data on my chart
Hi,
You already post this Discussions. See the below link
but when i try the given expression in my orignal application is not work thats why i asked aggain what i do in my original exp.
hi viswaranjan,
actually your expression show me a max amount but i want max amount order
TRY
First sorted value in expression
Firstsortedvalue(AmountOrder,-Amount)
or try this concept in script
hope it helps
thanks for reply mohit
but when i try first shorted value in my script then it show some value is blank
because 2 different order value are same so system is confused that which one is max
sum({$<Product_Order=p({$<model = {'SB42'},country = {'India'}>}Product_Order),Amount={">=$(=max(Amount))"}>}Product_Order)