Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Slicer to filter on different tables for same value

Hello team   I am trying to do the following. I have a PBI model with many tables. 2 of them contain the information SITE. In the one table I have the number values and on the other table I have c...
  • Ritaf1983's avatar
    3 years ago

    Hi Anonymous 

    In order to link the two tables, you need to create a "sites table" as a bridge.
    You can do it by following these steps :
    IN PQ
    1. Create refernce table of one of yours 

    2. Append tjis new table to the second 

    3. Remove all columns except "site"

    4. Remove duplicates

    5. After Close and Apply on model view, 
    Fix the type of relationships in the tables created automatically.
    Both should be "one to many" with a single direction

    Result:
    Connected tables , which you can combine , slice and dice 

    Link to Sample File 
    If this post 
    helps, then please consider Accept it as the solution to help the other members find it more quickly.