Forum Discussion

DominikTher's avatar
DominikTher
Frequent Visitor
8 years ago
Solved

Join paths and relationship

Hello all, I have a simple model, with some relationships. If I don't restrict this in RLS everything works fine. But after that, I receive error message "Join paths ...". So the problem i think is i...
  • v-ljerr-msft's avatar
    v-ljerr-msft
    8 years ago

    Hi DominikTher,

     

    Based on my test with your shared pbix file, you should be able to use the formula below to create a new measure to indicate if the Data[CountryId] is in filtered Hub, then use it to apply a visual level filter(Measure 2 is 1) on the Table visual in your scenario.

    Measure 2 =
    IF (
        CONTAINS ( HubCountry, HubCountry[CountryId], MAX ( Data[CountryId] ) ),
        1,
        0
    )
    

     

    Here is the modified pbix file for your reference. :smileyhappy:

     

    Regards