- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

how to use slicer value to filter a lookup value instead of slicer value
Hello I am using tree to display hierchy but it takes the root node to show the complete tree. What I want if we filter a child node, it still show me the complete tree from the donor to the last child. Once I put a slicer filter for donor it works fine. But I want to have slicer for all names and want that name to autofilter the donor and that will display the tree.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
first create this calculated column:
Then create a table with the distinct ids and names, without relationship to the main table:
Then create a measure like this:
Use the new measure as a filter for the tree visual, set it to equal 1, then create a slicer with the names from DimName to produce this:
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thanks a lot. it did worked. I really appriciate your help for solving the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team _ kalyj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
first create this calculated column:
Then create a table with the distinct ids and names, without relationship to the main table:
Then create a measure like this:
Use the new measure as a filter for the tree visual, set it to equal 1, then create a slicer with the names from DimName to produce this:
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

This really helpful but I was looking for some different result. on my example the parent nodes are MT01003A & MT01023B. if I select any leaf of those or the parent node, it show me that specific tree. the solution you provided it will take the branch to that specific node and eliminate any other node for that parent. I hope I was able to explain it clearly.
Below in the picture that is one tree and what I want is, if I filter on column "Name" from that specific tree either it is a parent or any leaf, it show me the complete tree for that specific parent, all its child and branches. There will be multiple trees like this, so once I filter on column "Name", it show me the complete tree from root to all the nodes in that tree.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

expand the stand-alone dimension table to include the path:
and write the measure used for filtering like this:
which gives this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thanks again for your response, I will try that and let you know,
question, if you check mark any from mt 5 to mt 11, will it show the same output currently shown?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

yes:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thanks a lot. it did worked. I really appriciate your help for solving the issue.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
08-26-2024 09:19 PM | |||
07-30-2024 12:36 PM | |||
09-03-2024 07:18 AM | |||
05-02-2024 08:58 PM | |||
Anonymous
| 03-07-2024 04:22 AM |
User | Count |
---|---|
141 | |
115 | |
84 | |
63 | |
48 |