I'm trying to create a crosstab summarizing by the following variable:
=If Min([Date1]) In ([Customer])=[date2] Then "NEW" Else "EXISTING"
When I put this variable in a vertical table on a detail level, it works correctly. When I try to use a cross tab to summarize it, only "EXISTING" shows, "NEW" won't even appear. Everything will just appear under "EXISTING".
Also, this variable will only set as a 'Measure' (I believe because of the MIN piece). I can get around this by making multiple variables, but could this be part of the issue?
I've run into this issue before and have been unable to figure it out. Do I need to use ForEach in my variable?
Any help would be great, thanks.