Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
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....
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
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |