Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

need two slicers

Hi ,        I have a Dimension table  dimname PK_DimEmployee FullName -1 Unknown 1 Andy Gattorna 2 Andy Robertson 3 Ben Jones 4 Bill Delgrego 5 Bill DelGrego 6 Bren...
  • edhans's avatar
    7 years ago

    You need to split your data. You can do this in Power Query. 

    1. You have factproject table.
    2. Create a reference to that table which creates a new table.
    3. merge it with the DIMNAME table using the PK_DimEmployee_SalesRep field and expand the table. 
    4. Select the columns you want to keep (probably salesrep and employeename) and remove other columns.
    5. Create another reference to factproject table.
    6. merge it with DIMNAME but this time use the PK_DimEmployee_SalesEngineer field.
    7. Select columns to keep, then remove other columns.
    8. Load both tables.
    9. use these as DIM tables in your model in DAX. Depending on how you want these to behave when slicing and cross-filtering, you might or might not need to enable bi-directional filtering on the relationships.

    At this point, you may or may not want to UNLOAD the original FACTPROJECT table. It might be redundant in DAX at this point. It just becomes a subquery at that point.