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
Hi Manish,
I was trying to do this expression also and getting below error:
Error: Error in set modifier ad hoc element list:',' or ')' expected
Hi Kushal,
thanks for try to help
Max MonthYear is working for other measures, so it should work for this measure also isn't it.
correct me if I am wrong.
try this
Count({<[MANAGER GEID] = {"=Count({<MonthYear = {"$(=Date(max(MonthYear),'MMM-YYYY'))"}>}[DRs All])>5"}>} Distinct [MANAGER GEID])
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])
output is 0(Zero)
You can share you app now... This discussion will go on and on and would never finish... Better we can directly work on sample app.
Hi,
Getting same error:
Error: Error in set modifier ad hoc element list:',' or ')' expected
Thanks Manish and Kushal.
wrong assumption on my part if its working in other expressions it should work here also.
Below expression solved my Issue with your help:
=Count({<[MANAGER GEID] = P({1<[MANAGER GEID] = {"=COUNT({<MonthYear = {'$(=Max(Date(MonthYear,'MMM-YYYY')))'}>}[DRs All])>5"}>}[MANAGER GEID])>} Distinct [MANAGER GEID])
Great that you got solution for your problem..!