Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
using set analysis how can i get total sale
i want sum of sales of max date
but if i select any year then it return sum of sale of that year of max date.
if i select any month then it return sales of max date for that month
Use 1 instead of $ in set analysis
plz suggest me full expression
Try this
sum({<Date={'<=$(=max(Date)'}>} Sale)
not working
Sum({<Date= {$(=max(Date))} >} Value)
sum({<Date={'=$(=max({1}Date))'}>} Sale)
Update: for only max date no need of '<' sign.
Hi,
Try below
sum({<Date={'=$(=max(Date)'}>} Sale)
Regards
ASHFAQ
i think first i have to create a variable that store max date for current selection
after that use that variable in expression.
but how to do that i don't know.
Hi,
Did you try my solution?
Regards
ASHFAQ