Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I need your help with one of the expression. Not sure why it is doing it. Hoping you guys will help fix it.
I have a dimension 'Name' and I want to calculate all the months where the count(ID)>6. I want this expression in the front end.
This expression is working fine when the Name is selected, else it is giving all the months available for that Name.
Expression:
Count({<Month= {"=(Count({<Year={$(=vMaxYear)}>} ID))>6"}>} Distinct Month)
Can anyone please help me understand why it is working when the Name is selected, else displaying all the available dates in that year that is associated to that name?
Thanks in advance!
This should work when you not selecting as well. Provide some application to test.
Second part, Try this?
If(GetSelectedCount(Name)>0, Count({<Month= {"=(Count({<Year={$(=vMaxYear)}>} ID))>6"}>} Distinct Month), ' ')
Hi,
What do you mean by second part?
As my dimension is Name, else condition cannot be ' '. We need to display the count of Months where count of Loan ID >6. Can you please suggest any options?
Perhaps this?
Count({<Month= {"=Count(LoanID)>6"}>} Month)