cancel
Showing results for 
Search instead for 
Did you mean: 

Get visible Members of Chart

simon_kussmann
Participant
0 Kudos

Hi everybody,

I am currently trying to script a small function in Design Studio which sets the scaling factor of datasources depending on the smallest and highest value displayed. I am reading the values with Datasource.getMembers() and afterwards with ...getDataAsString()...

My problem here is that the function .getMembers() returns all members available in the datasource, but I only want to read the members visible in my chart.

is there any possibility to read only the displayed members of a Datasource?

Thanks in advance and best regards,

Simon

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Simon,

What data source do you use? If it's HANA, you can set Members for Filtering to "Only values with posted data" by right clicking the dimension in Edit initial view of that datasource. So getMember will only return the visible ones.

Best regards,

Alfred