I've got a Pivot table created in my Seats&Tickets cube.I'm trying to work out the value of unsold seats and I've come up with a formula I'm having trouble with. What I want is a seat count multiplies by average ticket price (if a ticket has sold) or the base ticket value (if no tickets have been sold). The formula syntax is ok but I get the dreaded yellow exclamation point!
( SUM ([Total Seat Count]) , [Salable Hold] ) *
IF ( ( SUM ( [Total Ticket Paid Amount] ) / ( SUM ( [Total Ticket Count] ) , [Ticket Value > $0] ) ) > 0 , ( SUM ( [Total Ticket Paid Amount] ) / ( SUM ( [Total Ticket Count] ) , [Ticket Value > $0] ) ) , [Max Ticket Value] )
[Ticket Value > $0] is a filter that does what it says on the tin
[Salable Hold] is a filter of hold codes that we are expecting to sell
Hi Heath,
I had to alter the holds filter to just include all seats for my data but, here's what I ended up with.
IF (SUM ( [Ticket Paid/Reserved Count] ) > 0 , ( [Total Seat Count] , [Saleable Holds] ) * ( SUM ( [Ticket Paid/Reserved Value] ) / ( SUM ( [Ticket Paid/Reserved Count] ) ) ) , ( [Total Seat Current Base Value] , [Saleable Holds] ) )
Your formula worked fine for me, after removing the "double aggregates". Note that you've got SUM(Total<whatever>]) in most places, and [Max Ticket Value] at the end. The formula interface is "helpful" in allowing you to specify aggregates in 2-ways:
For example, instead of SUM ( [Ticket Paid Amount] ) we should see either SUM ( [Paid Amount] ) or simply [Ticket Paid Amount].
From there, some other recommendations, without knowing the whole of your goals.
Best,Chris
Chris Wallingford Director, Business Intelligence Tessitura Network office: +1 888.643.5778 x553 chris.wallingford@tessituranetwork.com
Hi Chris,
This has been on my mind for a while as I've tried to make this board more accurate. The issue I keep coming up against is that Hold Codes seem to be only updated in Full load not Incremental load. Now that we are in season I'm getting some interesting negative sales values due to sales amounts which have updated incrementally (over night) and the hold codes which are still using values from up to 6 days ago. Would you know where I would find a list of which is updated in which load to allay my curious mind.
Cheers,
H