Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 result for both the table only one result i am getting.
If i select the department slicer only absent employee details are getting filtered but i need both the present and absent should get filtered.
Please help
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)
)
by [], i mean a measure or an expression resulting a scalar value, like SUM() or COUNT()
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |