I need to add subtotals for a measure when ever there are multiple values in a dimension, attached the screenshot for the required outcome
The pic is just a reference, not actual data. I need to add subtotal on sales column only when there is more than 1 store in a state. Ex: As per the screenshot, Illinois & Georgia states have only 1 store subtotal is not required, where as Texas & california have more than one so Subtotal is required
Can I know your expertise in proposing a solution to the client for this requirement
I’m unaware of any mechanism to conditionally show / hide break headers or footers in XI3.x. You could probably approximate it with additional rows and conditionally hiding these. It may well be possible, but I can’t think of a way off the top of my head.
It is easy you have to go with order for which you are looking for,
e.g. if we consider mentioned format we require two breaks
Country 2. State
Also, We have to set below properties to get exact mentioned outcome as
Country Header & Footer = Hide
State Header = Hide
Table Header = Show
@Pathfinder: How does your method determine whether to hide or show the footer when there is only a single dimension in the break, as per the OP request?
How do you hide the footer when there is only one row shown, by a singular dimension, in the break, so you dont get two rows with the same data? The other sections, with more than one dimension listed, need to display the footer as normal.
This is as per the OPs original question.