Hi,
I have the following scenario:
2 Measures, using Ytd and Sum to get current and last year YTD values. These are calculated by using VBA and Today() function. These both work ok. I decided to hide these measures and create a KPI to display these values. I have set the "Value" Part of the KPI to the Current Year YTD measure value, and the Goal to the Last Year YTD measure value, then a case statement on the trend to display the difference as a status arrow.
The cube deploys and processes successfully.
If I use Excel to display these measures/values it works but with issues. I have two dimensions, Brand and Sales Part. If I use the Brand dimension the KPI calculates correctly, however if i add the Part Number from my Sales Part dimension it doesn't work correctly. It displays every single member of my sales part dimension, and not the ones that are listed to the relevant brand. Obviously just to mention that if i do the same with a regular measure it works fine.
Also, if i have my Brand and the KPI value, goal and trend shown it also includes totally empty row values. I thought that they should be suppressed - again as a note, this is only the case when my trend arrow is shown. Should I handle nulls here?
I hope somebody can help me understand this puzzle!
Thanks,
Dom