Forum Discussion

Mattyt510's avatar
Mattyt510
Regular Visitor
1 year ago
Solved

Creating appropriate relationships for data model with multiple Fact tables

Hi all, I'm quite new to building models and reports in Power BI and would greatly appreciate some advice on modelling. I'm having issues configuring my model to be able to determine what Functio...
  • MFelix's avatar
    MFelix
    1 year ago

    Hi Mattyt510 ,

     

    The question is the fact that you have both tables making the filter for "different sides" so when you add the names and the functions to your table it does not get the correct value.

     

    Once again I believe you need to revise the way you have your model setup but with the current setup you can force the filters for function to be overwritten by the relationships using a dax measure:

    Roles / function count = COUNTROWS( CROSSJOIN('RolesFunctions (2)', 'UserRole (2)'))

     

    If you add this in you visualization you get the following result: