Forum Discussion
EaglesTony
2 years agoPost Prodigy
How do I get a table filled based on another table
Hi, I have a datasource table, which has Type Key Parent Solution S123 T123 Solution S456 T123 Feature F123 S123 Feature ...
- 2 years ago
Hi EaglesTony
Check the attached for the solution. I have created a disconnected table for slicer and used 2 measures as visual level filter.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!!
Ashish_Mathur
2 years agoSuper User
Hi,
Here's my approach
- Create another table (Table1) of all the unique key
- Create the following relationships:
- Many to One and Active from the Key column of the Data Table to Table1
- Many to One and Inactive from the Parent column of the Data Table to Table1
- To your slicer, drag Key from the Table1
- To the Table visual, drag Type and write this measure
Measure = calculate(countrows(Data),userelationship(Data[Parent],Table1[Key]))
Hope this helps.