First time vs returning ticket buyers

I'm trying to look at first time vs. returning ticket buyers. I can't remember where I got these formulas from, but they seem like they should work. However, people who are most definitely not first time ticket buyers are being counted in that list. And some are showing up on both lists! Do I need to add filters to the forumulas?

First Time:

COUNT ( [Constituent ID],
IF (
MIN ( DDIFF ([Days in Date], [Days in First Performance Date] )) =0
, MAX ([Constituent ID])
, NULL
)
)

Returning:

(Count ([Constituent ID])) - (COUNT ( [Constituent ID],
IF (
MIN ( DDIFF ([Days in Date], [Days in First Performance Date] )) =0
, MAX ([Constituent ID])
, NULL
)
))

I have the widget filtered to the specific performance. 

Anne

Parents
  • Hi Anne,

    I just checked my formulas -

    For your returning buyers, I think there might be some extra parentheses that could be messing with the order of operations?

    This is my returning buyers:

    Count ( [Constituent ID]) - COUNT ([Constituent ID],
    IF (
    MIN( DDIFF ([Days in Date] , [Days in First Performance Date] ) ) = 0
    , MAX ( [Constituent ID] )
    , NULL
    )
    )

    See if that makes a difference?

Reply
  • Hi Anne,

    I just checked my formulas -

    For your returning buyers, I think there might be some extra parentheses that could be messing with the order of operations?

    This is my returning buyers:

    Count ( [Constituent ID]) - COUNT ([Constituent ID],
    IF (
    MIN( DDIFF ([Days in Date] , [Days in First Performance Date] ) ) = 0
    , MAX ( [Constituent ID] )
    , NULL
    )
    )

    See if that makes a difference?

Children