Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Please let me know what's wrong with below expression:
Count({<[MANAGER GEID] = {"=Count([DRs All])>5"},MonthYear = {"$(=max(MonthYear))"} >} Distinct [MANAGER GEID])
We have to select max monthyear to get accurate count, but I want to display right count by default for max monthyear.
Thanks
Neetha
Use this
=COUNT({<[MANAGER GEID] = P({1<[MANAGER GEID] = {"=COUNT({<MonthYear = {'$(=Date(Max(Date#(MonthYear,'MMM-YYYY')),'MMM-YYYY'))'}>}[DRs All])>5"}>}[MANAGER GEID])>}DISTINCT [MANAGER GEID])
try to give format to your month year
Assuming your monthyear date format is 'MMM-YYYY'
Count({<[MANAGER GEID] = {"=Count([DRs All])>5"},MonthYear = {"$(=Date(max(MonthYear),'MMM-YYYY'))"} >} Distinct [MANAGER GEID])
Hi Kushal,
Still issue persists, I have to select max monthyear.
can you show the screenshot of MonthYear field in list box?
Hi,
Its same as you guessed - May-2016
try to see the result of expression at straight table header, it may show you that month year is not properly compared.
Hi Digvijay,
when I look at straight table header it still gives right Max MonthYear,but still I have to select max monthyear
Try something like ,
Month_Year={"$(=Date(max(Date_Field),'MMM-YYYY'))"}>}
Try this...
=Count({<[MANAGER GEID] = {"=Count({<MonthYear = {"$(=Date(max(MonthYear),'MMM-YYYY'))"}>}[DRs All])>5"},MonthYear = {"$(=Date(max(MonthYear),'MMM-YYYY'))"} >} Distinct [MANAGER GEID])
just wanted to know if it is not string