Forum Discussion
Filter Matrix using inactive relationship
- 1 year ago
Hi Lee5150 ,
Apologies for the delay in response. The behavior you’re seeing is inherent to Power BI, as it processes data in this manner by default. However, I’ve adjusted the relationships based on your specific requirements by duplicating the necessary elements. While this approach may not be fully recommended in a practical scenario, it aligns with your needs.
I’ve attached the PBIX file please review it, and you should get a clearer idea of the adjustments made. Let me know if you need further refinements.
I hope this helps....
Hi Lee5150 ,
Thank you for sharing.
1. Only the relationship between DateTable[Date] and Completed Date is active.
2. Relationships with Start Date and Installed Date are inactive but still present.
3. Create separate measures using the USERELATIONSHIP function. Use these measures in your three separate Matrix visuals.
4. Each visual should reference only its corresponding measure. The month slicer will now work independently for each matrix visual, as each one uses its own relationship logic via the measure.
Hi, many thanks for your reply! This looks like exactly what I need. However, I'm struggling to formulate a DAX expression that works!
Any chance you can help me write this correctly. I've researched USERELATIONSHIP but I cannot get it to work correctly.
TIA