11-22-2021 04:34 PM - last edited on 05-02-2023 10:52 AM by JackLacava
Source: Migrated from Champions
I’m trying to use the below member filter to remove only the intercompany accounts. This works, but I lose the indents from using Tree Descendants.
A#410000.TreeDescendants.Where(IsIC = False)
Is there a workaround to remove just the IC accounts while still retaining the indents from tree descendants?
Solved! Go to Solution.
11-22-2021 04:37 PM
Yes, you can by going down level by level. Per level, you only include the members where the condition IsIC = False. Example:
A#410000.Children.Where(IsIC = False).Children.Where(IsIC = False).Children.Where(IsIC = False)…
11-22-2021 04:37 PM
Yes, you can by going down level by level. Per level, you only include the members where the condition IsIC = False. Example:
A#410000.Children.Where(IsIC = False).Children.Where(IsIC = False).Children.Where(IsIC = False)…
11-22-2021 04:38 PM
Perfect - this is exactly what I was hoping for!
12-04-2021 07:19 AM
Can you mark @Bierenbroodspot ‘s reply as solution? Thanks