Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The formula below does not seem to work. Kindly suggest corrections.
Count({$<DataType={'Registration'},
RegItemStatus={'Approved','Expired'},
RegItemReviewDate_YYYYMM={">$(=CampainDate_YYYYMM)<$(=CampainDateAfter_YYYYMM)"}
>} DISTINCT Design_Parts)
what are CampainDate_YYYYMM and CampainDateAfter_YYYYMM
fieldnames/Variables?
these field names. Trying to get a sum/count of parts 3 months after the campaign date.
LOAD Region,
CompanyName,
[Campaign Date],
Date([Campaign Date],'YYYYMM') AS CampaignDate_YYYYMM,
Date([Campaign Date],'YYYY') AS CampaignDate_YYYY,
Date(AddMonths([Campaign Date],3,0),'YYYYMM') as CampaignDateAfter_YYYYMM,
Date(AddMonths([Campaign Date],-3,0),'YYYYMM') as CampaignDateBefore_YYYYMM,
CampaignDate_YYYYWK,
[Campaign Name],
Product_ID,
Try This
Count({$<DataType={'Registration'},
RegItemStatus={'Approved','Expired'},
RegItemReviewDate_YYYYMM={">$(=Max(CampainDate_YYYYMM))<$(=Max(CampainDateAfter_YYYYMM))"}
>} DISTINCT Design_Parts)
or
Count({$<DataType={'Registration'},
RegItemStatus={'Approved','Expired'},
RegItemReviewDate_YYYYMM={">$(=Date(Max(CampainDate_YYYYMM),'YYYYMM'))<$(=Date(Max(CampainDateAfter_YYYYMM),'YYYYMM'))"}
>} DISTINCT Design_Parts)
the above formula does not seem to work.
Can you please share the qvw with some sample data or post some sample data & how you want see that
Sorry cant share the qvw. Here is what I expect to see.
Count of parts before and after campaign date