Forum Discussion

mizaskun's avatar
mizaskun
Helper II
4 years ago
Solved

Filtering two unconnected tables

Good morning,   I have the following shcema in the DB:   Many controls could have many risks and many risks could have many controls. I cannot connect both risk and control tables any other...
  • PaulDBrown's avatar
    PaulDBrown
    4 years ago

    Ok, first of all delete the relationships between the tables and the RisksControls table. Now join the Area table to both tables in a 1:N relationship single direction with the corresponding fields in the tables. (I have also created a dimension table for year)

     

    The relevant model should look like this:

    Nest create a slicer with the field from Area table, create visuals with the fields of both the fact tables and you should get this:

     

    I've attached the smple PBIX file