Forum Discussion

River's avatar
River
Helper IV
5 years ago
Solved

dynamic relation between tables based on slicer

Hi Friends,

 

Is there a way to dynamicly creating relation between tables based on slicer?

We have a situation that, depending on filter/slicer, the two tables relation will be based on different field, how can I achieve it.

 

Many thanks,

  • You can create inactive relationship and based os slicer slection, calculate your measure using any of the relation with USERELATIONSHIP funtion of DAX.

     

    If this post helps, then please consider Accept it as the solution and give it a thumbs up

2 Replies

  • arvindsingh802's avatar
    arvindsingh802
    Community Champion

    You can create inactive relationship and based os slicer slection, calculate your measure using any of the relation with USERELATIONSHIP funtion of DAX.

     

    If this post helps, then please consider Accept it as the solution and give it a thumbs up