Forum Discussion

anansrivastava's avatar
anansrivastava
Frequent Visitor
5 years ago
Solved

Advanced filtering. Dependent dropdown using modelling

I have created a dim table filter which is modelled from 2 tables   My query for this is -      calcProjectNameFilter = DISTINCT( UNION( VALUES('Vani_Trends actual'[Project Name]), VALUES...
  • v-deddai1-msft's avatar
    v-deddai1-msft
    5 years ago

    Hi anansrivastava ,

     

    Why you don't combine the phase name column and project column in a filter table?

     

    Filter = DISTINCT(
    UNION(
    SELECTCOLUMNS('Vani_Trends actual',"Project Name",'Vani_Trends actual'[Project Name],"Phase Name",'Vani_Trends actual'[Phase Name]),
    SELECTCOLUMNS('Vani_Trends2 - planned',"Project Name",'Vani_Trends2 - planned'[Project Name],"Phase Name",'Vani_Trends2 - planned'[Phase Name])
    ))
    

     

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

     

    Best Regards,

    Dedmon Dai