Forum Discussion
Parent-Child Hierarchy Filtering Conditions
AllisonKennedy after working with real data I realized that the measure are not showing everytime the right results:
Instead of showing the Items with"Apple" on state "To Do" AND "Pear" on state "Done", the formula is showing also the Items with "Apple" on state "In Progress" AND "Pear" on state "Done"- do you have any idea why this happens? Below is the measure that I used for this.
Anonymous The measure looks ok. If you're getting a result for Parent Work Item Id that means that at least one of its children is Apple To Do and at least one of its children is Pear Done. Is it possible that there's also a third child that is Apple In progress?
- Anonymous6 years agoNot applicable
AllisonKennedy there are also other childs wich has the states "To Do", "In Progress" or "Done", but these childs has diffrent titles/names as seen on the graphic below. I checked it and there is no futher Apple with a state "In Progress". Do you think a change in the formula from "at least" to "exactly" can help us here?
- AllisonKennedy6 years ago
Community Champion
Anonymous Sorry for the delay - are you still struggling with this one? Not sure which 'at least' you're referring to?
- Anonymous6 years agoNot applicable
AllisonKennedy Issue is solved now. I delete the parts with SELECTEDVALUE and include in the table only the fields "Parent ID" and "Measure". It doesnt work if "Child ID" is also included in the table - this was the problem 😉
- AllisonKennedy6 years ago
Community Champion
Awesome! Glad it's working.