In EazyBI, I am trying to create a calculated member that filters the Zephyr Test Cycle Name down to those test cycles that name starts with "AutoRun". I am not getting any results. I have tried examples from the documentation and altered them slightly, but with no luck. It accepts the below syntax when I create/update the calculated member, but just doesn't return each of the test cycles that begin with the name "AutoRun"
Here is what I currently have:
Aggregate(Filter(
[Zephyr Test Cycle].[Cycle].Members,
[Zephyr Test Cycle].[Cycle].Name MATCHES "AutoRun*"
)
)
What am I missing? Suggestions? Please help?
Hi @Gary Ammons
To make this work, you should fix the structure for Aggregate() and add function CurrentMemeber to validate the cycle name of each cycle :
Aggregate(Filter(
[Zephyr Test Cycle].[Cycle].Members,
[Zephyr Test Cycle].CurrentMember.Name MATCHES "AutoRun.*"
))
More information and some examples of how to construct Aggregate() and use function CurrentMember you can see in the documentation:
https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-members/mdx-function-reference/aggregate
https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-members/mdx-function-reference/currentmember
@Choon Keat Seet suggestion is correct as well, use a regular expression .* to get all cycles starting with AutoRun (any character might follow AutoRun for many times on none).
Best,
Zane / support@eazyBI.com
I see if working now after a recent import to eazyBI. Thank you both!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Choon Keat Seet, for the reply. I tried your suggestion, but still no results. I also went to the link you provided for Regular Expressions and tried all of those, and still no luck. So, now I am wondering if it has anything to do with the amount of directory layers the test cycles are at? Puzzling!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.