Formula based on List top level

I have a module with one of the dimension as a list 'Prod Type', with items HW1, HW2 and this list has a top level 'All'.

In one of the line items in this module i want to apply a formula like below :-

If<top level of Prod Type> then <Task1> else <Task2>.

At first i thought of using parent(item(list)) as for top level this will return blank, but the module is having other hierarchical lists as well for dimensions due to which this formulation is not working for me.

Is there any work around for this?

Best Answers

Answers