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

  • Thanks @derektslim , its funny i was missing small detail of changing summary, but yes this works. thanks man :)

  • Thanks @pyrypeura - This article also works for me, and i believe it will be a good practice to follow this, but for more small and less complex structure the other answer by @derektslim fits well.

  • It tends to happen, even to the best of us! 😂

    Glad it works. Cheers!