Forum Discussion
Saravanan_ameer
3 years agoFrequent Visitor
Active relationship
Hi Expects, I need apply the slicer for the department.If i select the depatment name it needs show both the table details but due to more than 1 active relationship i am not getting the filtered...
FreemanZ
3 years agoSuper User
If you need to filter Presents table with Department table, you need USERELATIONSHIP to temporally activate their relationship, the code it like this:
CALCULATE(
[],
USERELATIONSHIP(a column from Department, a column from Presents)
)
- Saravanan_ameer3 years agoFrequent VisitorColumn = CALCULATE([],USERELATIONSHIP('DEPARTMENT'[Department Name],Presents[dept_name]))BUT getting error
- FreemanZ3 years agoSuper User
by [], i mean a measure or an expression resulting a scalar value, like SUM() or COUNT()