Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a calculated dimension and based on the filed selection I populate a table. But I can see now that when I select that field it appears with expression and getSelectedCount() does not working. Please help.
Thanks,
Sandip
GetSelectedCount only works for Fields in your data model.
Do you have a file to share that demonstrates the issue?
Hi,
when I am using this : =getselectedCount(DATE) and select a date , it gives me count. But when I use =getselectedCount(year(DATE)) and select a date value , it does not give me nothing.
Instead you can define year(DATE) in script and then use in textbox.
That is because that function doesn't take calculated dimension as argument but a field name (or, to be precise, - 'or expression that gives a field name').
Better create a Year field in the script and use that in the function.
GetSelectedCount only works for Fields in your data model.