Forum Discussion

renaudstaessens's avatar
6 years ago
Solved

Dynamic filtering table with no physical relationship

Hi guys would really need your help cause i don't know how to solve the following problem :    Today i have a data model with approximately 20 tables : My "fact" table is the Tasks table whichcon...
  • sturlaws's avatar
    sturlaws
    6 years ago

    Hi renaudstaessens 

     

    have you managed to solve your issue?

    If not, you can create a measure like this:

    Measure =
    VAR _skills =
        CALCULATETABLE ( VALUES ( demands[skill] ) )
    VAR _matchingSkills =
        INTERSECT ( _skills, VALUES ( skills[skill] ) )
    RETURN
        IF ( COUNTROWS ( _matchingSkills ) = COUNTROWS ( _skills ), 1, 0 )
    

     

    and use this measure in the filter pane(setting Measure is 1) of the table visualization of the employees.

    I have attached the mock-up file I created to demonstrate.

     

    Cheers,
    Sturla

    If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

     

  • renaudstaessens's avatar
    renaudstaessens
    6 years ago

    Hi sturlaws  many thanks as your solution is working great and your explanations and examples are perfect !! sorry not to answer quickly ( i was on vacation 😃 )