line item subset filter

KubotaNatsuki
Frequent Contributor

line item subset filter

hi!

 

How do I show or hide different line items in a filter using line item subsets?
To do this, we want to use the ITEM function to retrieve items from the line item subset list.

What can I do to help?

1 ACCEPTED SOLUTION

Accepted Solutions
MarkWarren
Expert

Re: line item subset filter

Yes that can be achieved by nesting List A and List B on rows and using a boolean filter that lookups a mapping of B to A.
I put an example together to show you better what I mean:
msedge_2021-10-21_11-28-31.png
with this mapping module:
msedge_2021-10-21_11-29-09.png
Is that close to what you need?

View solution in original post

6 REPLIES 6
MarkWarren
Expert

Re: line item subset filter

If you have a line item dimensioned by a line item subset you would apply a filter to hide any values from the  subset you didn't want to display. Or you just take those line items out of the subset or create another line item subset with only the line items needed for that module.
What is it you are trying to achieve, perhaps we can understand more to be able to find the right solution?

KubotaNatsuki
Frequent Contributor

Re: line item subset filter

Thank for your reply!
We use two lists.
One is a list with a hierarchy (A) and the other is a list created with a line item subset (B).
What we want to do :
I want to show/hide the items displayed in list B depending on the parent hierarchy of list A.
Can i do it?
My English is good enough to communicate with you.
MarkWarren
Expert

Re: line item subset filter

Yes that can be achieved by nesting List A and List B on rows and using a boolean filter that lookups a mapping of B to A.
I put an example together to show you better what I mean:
msedge_2021-10-21_11-28-31.png
with this mapping module:
msedge_2021-10-21_11-29-09.png
Is that close to what you need?

View solution in original post

KubotaNatsuki
Frequent Contributor

Re: line item subset filter

Thank you! I understand!
Just one question, what formula is in the 'Item' in the picture above?

ChrisHeathcote
Community Boss

Re: line item subset filter

Use ITEM('reference the list in general lists') to return the relevant list item contained within the list referenced. The list referenced must be a dimension of the line item.
Chris Heathcote
Bedford Consulting

Gold Partner and Regional Partner of the Year 2021, EMEA
KubotaNatsuki
Frequent Contributor

Re: line item subset filter

Thank you so much!
I can do it!!