Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Happy new year to everyone!!!!!
I have req. as below and I need some help in this.
I have certain fields like Product,number,values,id,date,cal_month fields.
I need to calculate the MTD and LTD formulae’s with respect selection and without selection in front end level.
Plz find the attached sample data and I am unable to attach the original data.
Thanks in advance,
Ravi
Try this,
LTD:
= sum(
{<
Revenue_Date= {">=$(=Date(YearStart(min({1}Revenue_Date))))<=$(=max(Revenue_Date))" }, Revenue_Week= , Revenue_Quarter=, Revenue_Month= >}
GrossRevenue)
MTD:
= sum(
{<
Revenue_Date= {">=$(=Date(MonthStart(Max(Revenue_Date))))<=$(=max(Revenue_Date))" }, Revenue_Week= ,Revenue_Year=, Revenue_Quarter= >}
GrossRevenue)
Regards,
Nirav Bhimani
Use pivot table with two expressions
MTD:
sum(Value)
LTD:
rangesum(above(sum(Value),0,RowNo()))
See Attached