Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi experts,
kindly help me for PYTD in this scenario
=(Sum({<Periodname,Segment3={440},ToDate={">=$(vStartDate)<=$(vTillDate)"}>}Closingbalance)+
Sum({<Periodname,Segment3={470},ToDate={">=$(vStartDate)<=$(vTillDate)"}>}Closingbalance)+
Sum({<Periodname,Segment3={480},ToDate={">=$(vStartDate)<=$(vTillDate)"}>}Closingbalance))/vThousand
Try this
=(Sum({<Periodname,Segment3={440},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate)"}>}Closingbalance)+
Sum({<Periodname,Segment3={470},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate), -1)"}>}Closingbalance)+Sum({<Periodname,Segment3={480},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate), -1)"}>}Closingbalance)) /vThousand
Try this
=(Sum({<Periodname,Segment3={440},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate)"}>}Closingbalance)+
Sum({<Periodname,Segment3={470},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate), -1)"}>}Closingbalance)+Sum({<Periodname,Segment3={480},ToDate={">=AddYears($(vStartDate), -1)<=AddYears($(vTillDate), -1)"}>}Closingbalance)) /vThousand