1
Answer

How to get the KPI collection of a specific MeasureGroup?

Amresh S

Amresh S

8y
233
1
Hi All,
 
I'm trying to get the Collection of KPI elements of a specific MeasureGroup. I had already fetched the specific Measures and Dimension collection for the specified MeasureGroup with the info form the link: https://technet.microsoft.com/en-us/library/ms126250.aspx 
 
But, I can't able to find a way to get the KPI elements collection for a specific MeasureGroup.
 
Kindly share your ideas.
 
Thanks & Regards,
Amresh S. 
Answers (1)
1
Amresh S

Amresh S

NA 528 4.1k 8y

Hi All,

Update:

I found the solution myself. The "Properties" property collection have that specified value from the cube. The "MEASUREGROUP_NAME" can be retrived from the below code snippet.

  1. string specifiedKpi=(string)adomd.Properties["MEASUREGROUP_NAME"].Value;

Now, the other part of the use case scenario can be validated as per the requirement.

Regards,

Amresh S.