Forum Discussion
slicer distant relationship
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,
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-msft9 years agoMicrosoft Employee
- MFelix9 years agoSuper User
Hi inescosta,
Why don't you add a colum in the tiposProjecto with the Department using the Lookupvalue formula?
Looking at you print I cannot determine how the model is set up and give you a example what it can be done but maybe you can try doing it with the lookupvalue, since from the TiposProjecto to the department you only have one inactive relationship.
Regards,
MFelix