Best Of
Re: Partition By not working to show correct SM% when I change parameters view options
Your case statements don't have any clause for when Geography/Product View = 'P&L'
Either add an else 1 at then end of each case statement, or call out a specific value for each option that the user can select.
Re: Beast Mode Editor Formula List Consistency
Agreed! It would also be helpful to update the function list in this KB article:
Re: Does Beast Mode support using "Contains" to Identify Value Count
@afieweger Yes, you will use LIKE and wildcard characters in your case when statement:
SUM(case when PresentationName LIKE '%self-service%' then 1 else 0 end)
The % symbol will just say there can be any number of characters before or after 'self-service'. I like doing counts with an equivalent sum expression.
Re: Does Beast Mode support using "Contains" to Identify Value Count
you can use the LIKE operator with the % sign on each side to make it look for the phrase contains. Would be something like this:
CASE WHEN fieldname LIKE '%self-service%' THEN 'Self-Service'
ELSE 'Something else'
END
Re: Pivot Table - More control over subtotal rows
The suppress single line subtotals work up to a certain point and with certain limitations from what I've tested in the past:
- Sometimes you want some subtotals to show even when there is a single line, to drive consistency in presentation. In Mark example the second block (104471) is the perfect representation of this, if you select the remove single line subtotals then that will be presented differently than all of the other entries. Which makes it less intuitive and harder to read for the untrained eye.
- For this to work you need to make sure you put the line that makes it unique in the right position from left to right as of when you want to stop the groupings from happening (usually a unique identifier to the highest level of granularity to be displayed). Which might not always align with what the desired order of the output is.
Having an option to select how many levels of Subtotals we want would be ideal and grant the level of customization many users are looking for.
Visually if our Dataset would be something like this:
And we want our Pivot table to show the columns in the following Order: Customer > Month > Invoice > Total, but we want our Subtotal Rows only to be present at the Customer level and to always be present at that level, without the Suppress single line totals we get:
If we select the option, then we still get subtotals at the month level when there are multiple invoices and we lose the Total row for Customer C.
If we rearrange to have the Invoice as the second column (highest granularity) we do get all subtotals to only be for the first column, but still miss to have one for column C (this is way more noticeable if you style your subtotal rows, which I've done in this last screenshot to better illustrate how those can easily be missed)
As you can see it'll be hard for the untrained eye to know that the C row has the same level of importance as the A Total since it's not even highlighted in the same way.
Re: I want to add the Min, Max and average lines to a stacked graph ...how do I do that?
Thanks. I thought your series was breaking up bars into multiple segments. But you are just using is to add colors.
If you set the Colors using Color Rules, then you can avoid using Series. This will allow you to keep the min max and avg values:











