Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18014

Is there a way to crate parent Child relationship on the same table and show results in a table?

$
0
0

Hi,

 

I have a table like this:

 

ItemId | ParentId
1 | 0
2 | 1
3 | 1
4 | 2
5 | 3
6 | 2

 

Parent Id can be ItemId of another row in the same table.

 

Now I would like to have a slicer on my dashboard and when I select ItemId 1 on a slicer, I should get rows with Item Id 1, 2, 3 on the resulting table. If I select 2 on the slicer, resulting table will show rows with Id, 2, 4, 6.


Viewing all articles
Browse latest Browse all 18014

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>