Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I 'm facing some wierd issue with QTD...Is there anything wrong in my syntax...Appreciate your help
if(wildmatch(only({1}CATEGORY_LABEL_SORT),20.5,24.5,21,0),'', Sum({$<PeriodID = {"<=$(=Max(PeriodID))"},QuarterID={"=$(=Max(QuarterID))"},FISCAL_YEAR=,FISCAL_QUARTER=,PeriodID=,PROJECT_NAME=>} DOLLAR_AMOUNT))
Maybe try:
if(wildmatch(only({1}CATEGORY_LABEL_SORT),20.5,24.5,21,0),'', Sum({$<PeriodID = {"<=$(=Max(PeriodID))"},QuarterID={"$(=Max(QuarterID))"},FISCAL_YEAR=,FISCAL_QUARTER=,PeriodID=,PROJECT_NAME=>} DOLLAR_AMOUNT))
I removed the = from {"=$(=Max(QuarterID))"}.
Also, what do PeriodID and QuarterID actually look like? Are they numbers that you can use max() on?
((FISCAL_YEAR-1)*13) +FISCAL_PERIOD AS PeriodID,
((FISCAL_YEAR-1)*4) +FISCAL_QUARTER AS QuarterID,
Still i'm not getting an expected result...If we have two years 2013,2014...If the user clicks on 2013 Q3,it is showing all the data including 2014.
Can you post a .qvw? I can't tell what's not working without actually seeing it.