Postcode Sum from a range

Hi All,


I'm new to using formulas in analytics, and I have a problem that I think should be easy to solve.

I've added elements primary address postcode (PAA) and ticket count (TC).

I would like to make a formula that returns two rows

  1. Sum ticket count for postcodes between 7000-7209 as Southern Tasmania
  2. Sum ticket cont for postcodes between 7210-7930 as Northern Tasmania

(i'm ok if we don't get the row's renamed, just need those totals).

Any ideas? 

Slight smile

Parents
  • Hi Ronan,

    2 quick thoughts for you...

    If this is a one-off reporting need, you could pull Primary Address Postcode and Ticket Count in a Pivot Table and then download that widget as CVS or Excel, and do some quick manipulation there ... even just highlighting the Ticket Count value across the postcodes you're interested in and seeing the sum preview in the status bar.

    If you'd like to keep it Analytics, and I recommend you do if you have any need to do this again, then you might try a Text filter on postcode. For Southern Tasmania, an OR set of criteria that looks like:

    • Starts with 70
    • Starts with 71
    • Starts with 720

    Then for the Northern Tasmania count, a Text filter AND criteria set that looks something like

    • Starts with 7
    • Doesn't start with 70
    • Doesn't start with 71
    • Doesn't start with 720

    You could either have separate widgets for these, using widget level filters. Or to have both values in the same widget use a formula like:

    ( [Total Ticket Count] , [Primary Address Postcode] )

    And for one instance of the formula, filter Primary Address Postcode for Southern Tasmania. Then duplicate the value and edit the filter to reflect the criteria for Northern Tasmania.

    Chris Wallingford
    Director, Business Intelligence
    Tessitura Network
    office: +1 888.643.5778 x553
    chris.wallingford@tessituranetwork.com

Reply Children
No Data