Forum Discussion
slicer distant relationship
Hello,
I have a measure that is summing up values in table PROJETOSEGMENTO, and I want to use a slicer so that my measures sums by department.
But the relationship between the two tables isn't direct at all.
Can somesone help me ? can I use userelationship is some way??
Thank you,
Ines
I
4 Replies
- v-sihou-msftMicrosoft Employee
If you want to use a slicer which can slice the PROJETOSEGMENTO measure with Department, you must have active relationship between these tables. It must have a path from Department to PROJETOSEGMENTO.
If you just need to slice the measure in DAX, you can use USERELATIONSHIP() to use inactive relationship for your calculation.
Regards,
- inescostaAdvocate II
Yes, I am using a DAX expression, my problem with USERELATIONSHIP is that I have a series of relationships I need it to consider, so should I use:
USERELATIONSHIP(Department[code];Servprod[codigodepartament];servprod[id];tipoprojeto[servprod_id]) USERELATIONSHIP(Department[code];Servprod[codigodepartament]); USERELATIONSHIP(;servprod[id];tipoprojeto[servprod_id]) ETC....
- v-sihou-msftMicrosoft Employee