Hi,
I have a problem and would sincerely appreciate any earliest solution or workaround.
I have a report with the following specs -
Row Attribute - "Region",Metric: Sales $,Page-By - "Store"
Note that Region can be drilled to District to Store. In the given specs, we have to keep "Store" in the Page-By section. And, the user is free to drill to District on the report.
Metric requirement is that "Sales $" when calculated at Store level, should display blank (or NULL). So, I defined a fact extension for underlying base fact on which "Sales $" metric was defined, and defined a allocation expression
at "Store" attribute level as ZEROIFNULL(0.0).
In ideal scenario, as long as we don't keep "Store" in the Page-by, everything works good. We get to see metric value until "Distrct" level, and it becomes NULL, as and when we drill to Store. So, fact extension works good.
However, taking "Store" to Page-By, it doesn't work that way. Always, I get blanks ir-respective of when "Store" attribute is set to "Total" or not. So, fact extension doesn't work good in this scenario, becuase, MicroStrategy just keeps looking for if "Store" attribute has been put on the report or not, ir-respective of whether it is set to "Total" or not.
Per the report requirements, when the report runs, "Store" attribute should be set to "Total", and when set, "Sales $" metric should be calculated at "Region" level. And, as soon as, the user selects any "Store" value, then, this metric should display blank.
In my view, "Total" should allow MicroStrategy to avoid considering "Store" attribute" on the report, and shouldn't apply the Fact extension allocation expression. Or, could there be a way to use "Total" in the DECODE logic to build the metric.
Any help would greatly be appreciated.
I have a problem and would sincerely appreciate any earliest solution or workaround.
I have a report with the following specs -
Row Attribute - "Region",Metric: Sales $,Page-By - "Store"
Note that Region can be drilled to District to Store. In the given specs, we have to keep "Store" in the Page-By section. And, the user is free to drill to District on the report.
Metric requirement is that "Sales $" when calculated at Store level, should display blank (or NULL). So, I defined a fact extension for underlying base fact on which "Sales $" metric was defined, and defined a allocation expression
at "Store" attribute level as ZEROIFNULL(0.0).
In ideal scenario, as long as we don't keep "Store" in the Page-by, everything works good. We get to see metric value until "Distrct" level, and it becomes NULL, as and when we drill to Store. So, fact extension works good.
However, taking "Store" to Page-By, it doesn't work that way. Always, I get blanks ir-respective of when "Store" attribute is set to "Total" or not. So, fact extension doesn't work good in this scenario, becuase, MicroStrategy just keeps looking for if "Store" attribute has been put on the report or not, ir-respective of whether it is set to "Total" or not.
Per the report requirements, when the report runs, "Store" attribute should be set to "Total", and when set, "Sales $" metric should be calculated at "Region" level. And, as soon as, the user selects any "Store" value, then, this metric should display blank.
In my view, "Total" should allow MicroStrategy to avoid considering "Store" attribute" on the report, and shouldn't apply the Fact extension allocation expression. Or, could there be a way to use "Total" in the DECODE logic to build the metric.
Any help would greatly be appreciated.