Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a bar chart where the X axis dimension is MonthNum (months from 1 to 12) taken from table A.
On this chart I'd like to count the CUSTOMER occurrences per month as reported in a different table B. In this table the month field is named MonthOpen.
I've set the expression for the bar chart as:
Count({<MonthOpen=MonthNum>} CUSTOMER)
but I get an error.
What's the right syntax to solve this problem?
Thank you.
try this:
Count({$<MonthOpen=P(MonthNum)>} CUSTOMER)
Alternatively you could rename the MonthOpen field in the script to MonthNum and it would create a join and you would not need to use set analysis.
or perhaps also this
Count(if(MonthOpen=MonthNum, CUSTOMER))
Grazie, funziona perfettamente