Editing a Formula to Get Around the 'Can't Mix Cubes' Issue?

Hi, 

My director of education loves the report that I sent her (thanks everyone for the help), but wants to tweak a few things. Most of them were easy fixes, but one I am struggling with. 

This report will be sent weekly and will have the total revenue for that week on it (based on the 'Use last week" filter) using the "Total Ticket Paid Amount" value. However, she would also like the total revenue up to that point in another widget. Meaning after 4 weeks worth of reports, she wants the combine total revenue of those 4 weeks to show up on week 5 report? 

I know those widgets exist in the Finance cube. However I am working in Seats & Tickets as she also wants mostly attendance data (which lives in Seats & Tickets). I know you can't mix cubes, so is there a way of changing the formula to one of the existing Total Ticket Paid values to get that compounded revenue info? 

Parents
  • I want to restate so I have it clear in my head: you're looking for two widgets:

    1. Total revenue for 'Last week'
      1. 'Order Date' or 'Performance Date'?
    2. Total revenue to-date

    Is that right?

    If so, you could use a custom date filter for #2 to say "Give me all dates (Order Date or Performance Date) that are within this date range (4 weeks ago through end of the year, for instance) AND are up through yesterday". One version of that I have is the one below:

    {
    "and": [
    {
    "from": "2023-01-01",
    "to": "2023-12-31"
    },
    {
    "last": {
    "count": 366,
    "offset": 1
    }
    }
    ],
    "custom": true
    }

    This one's saying "Filter this widget by dates (performance date) within Jan 1 2023 and December 31st 2023, which are also within the last 366 days offset one (aka, up through yesterday)"

    You'd be able to keep #1 widget the way it is, and have the #2 widget keep rolling forward, anchored on whatever date range you want. 

Reply
  • I want to restate so I have it clear in my head: you're looking for two widgets:

    1. Total revenue for 'Last week'
      1. 'Order Date' or 'Performance Date'?
    2. Total revenue to-date

    Is that right?

    If so, you could use a custom date filter for #2 to say "Give me all dates (Order Date or Performance Date) that are within this date range (4 weeks ago through end of the year, for instance) AND are up through yesterday". One version of that I have is the one below:

    {
    "and": [
    {
    "from": "2023-01-01",
    "to": "2023-12-31"
    },
    {
    "last": {
    "count": 366,
    "offset": 1
    }
    }
    ],
    "custom": true
    }

    This one's saying "Filter this widget by dates (performance date) within Jan 1 2023 and December 31st 2023, which are also within the last 366 days offset one (aka, up through yesterday)"

    You'd be able to keep #1 widget the way it is, and have the #2 widget keep rolling forward, anchored on whatever date range you want. 

Children