Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
i have date wise sale qty. how can i find sales qty with maximum date.
Regards,
Masba

Hello again,
Should it only have one bar? Then you can simply change chart type.
=Firstsortedvalue(Qty,-Sales_date)
In case you want in Text box , you can use set expression i.e. sum({$<Sale_Date ={$(=max(Sale_Date))} >}Qty)
How will you be using the value? If it is in a table with Date as a column then you could do:
if(Date=max(total Date),sum(Qty),0)
See attached example
hey masba,
vSaleDate=max(sale_date)
=only({<sale_date={"$(vSaleDate)"}>}qty)
cheers,
kunal bhattacharjee
Hi,
Check this expression
sum({$<Sale_Date ={'$(=Date(Max(Sale_Date)))'} >}Qty)
Note: Sale_Date and Today() date format should be in the same format.
Regards,
Jagan.
Try this
=sum({$<Sale_Date={'$(=max(Sale_Date))'} >}Qty)
Regards
ASHFAQ
Dear Morgan ,
Thnx for ur reply.. your suggestion is working simple table .. but my problem is that in my chart X axis will display maximum date and Y axis will show sum(qty)..
Regards,
Masba
You can change the chart type?
What chart type are you using?
Regards
ASHFAQ
assign max(sales_date) to a variable then only{$ <Vsals_data>qty}