Hello,
I need to fill the dropdown with only leaf members of the parent-child hierarchy (SAC Analytics Designer)
Currently, I use a loop structure to check whether the member is a parent for any other member (the definition of a leaf member), however, I have concerns regarding the performance.
Is there any API or any other better/best practices to get only leaf members?

Thank you!
Yuri