Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Active relationship based on Slicer

Hello All,   I have a slicer which has 4 rows these as follows:   Slicer: 1) This  month 2)Last Year 3) This year 4) Prev month   and in another table I have  columns like this     Countr...
  • parry2k's avatar
    parry2k
    7 years ago

    Anonymous you need to unpivot table b and then set the relationship between both the table, after that it will work as expected.

     

    To unpivot, select all column table b excep (those four columns) and right click after selection and clicking unpivot other column, it will give you two column attribute and value (change column name as per your need)

     

    Now set relationship between table 2 with table 1 on attribute and selection.

     

    Now if you filter from selection, you table2 will show respective values.