I have 2 tables and 2 of the column have the same values (Time , Value) Table 1
| Time | y | Value |
|---|---|---|
| 8:00 am | 1 | 2 |
| 9:00 am | 3 | 3 |
| 10:00 am | 5 | 4 |
| 11:00 am | 7 | 1 |
Table 2
| Time | Name | Value |
|---|---|---|
| 8:00 am | ABC | 1 |
| 9:00 am | DEF | 3 |
| 10:00 am | GHI | 2 |
| 11:00 am | ERQ | 4 |
In a powerBi, I create 1 line charts with Table 1, x-axis is Time, y-axis is y-value and legend is 'value'. And I have a table widget for my 'Table 2'.
So I have a relationship between Table1 and Table 2 so that when I click a time in the chart, the table will filter to the value of the clicked time.
How can I add a 2nd active relationship so that when I click 1 of the value in the line chart (the legend), the Table widget 's data will be filtered to the clicked legend too?
Thank you.

