The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a Project List with the name of the project, the lead contact, secondary contact and a third contact and an employee list. I'm trying to setup a slicer that will select all rows that a particular employee is involved with.
I'd like to have the All Projects By slicer to contain the names of all employees and filter whether or not an employee is the lead, 2nd or 3rd contact. IE: Brian is selected and it returns all rows where Brian is either the Lead Contact, 2nd Contact or 3rd Contact.
Any Suggestions?
One approach by tricky measures.
Lead Contact_ = IF ( NOT ( ISFILTERED ( Contacts[Contact] ) ) || ( MAX ( yourTable[Contact2] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Lead Contact] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Contact3] ) = MAX ( Contacts[Contact] ) ), MAX ( yourTable[Lead Contact] ) ) contact2_ = IF ( NOT ( ISFILTERED ( Contacts[Contact] ) ) || ( MAX ( yourTable[Contact2] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Lead Contact] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Contact3] ) = MAX ( Contacts[Contact] ) ), MAX ( yourTable[Contact2] ) ) Contact3_ = IF ( NOT ( ISFILTERED ( Contacts[Contact] ) ) || ( MAX ( yourTable[Contact2] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Lead Contact] ) = MAX ( Contacts[Contact] ) || MAX ( yourTable[Contact3] ) = MAX ( Contacts[Contact] ) ), MAX ( yourTable[Contact3] ) )
See more in the attached pbix file.
You can do it by goto
--> Format --> Edit Interactions
--> Select Slicer and change the dependcy of other slicers to Filter.
I've tried that with limited success.