Finding a KPI cell from Cellset when querying SQL Server Analysis Services
1 answer
What would it mean that the value was a KPI? Only you know that!
But if the metric names included the letters "KPIs", perhaps you might find that (some VB features like InStr can be used in MDX if in Microsoft Analysis Services, but it would be easier to just check the name of the whole measure).
Another way would be to set the properties of an item in the cube and make the MDX act differently based on that.
0
source to share