HI all,
I want to find out whether it is possible to list down all KPI's names by MDX query.
Basically i want to check a perticular KPI is available or not.
Thanks.
HI all,
I want to find out whether it is possible to list down all KPI's names by MDX query.
Basically i want to check a perticular KPI is available or not.
Thanks.
Hi david,
if you want to check whether the perticular KPI is present or not, you can go with the below query:
select KPIValue("Net Income") on 0,
{} on 1
from [Adventure Works]
Here "Net Income" is the KPI name. If the KPI is available it will not throw error otherwise it will throw error as below:
Executing the query ...
Query (1, 8) The 'Nedt Income' argument passed to the 'KPIVALUE' function must be a Key Performance Indicator (KPI) name.
Execution complete
You must log in to post.