Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PremaBoddeda
Frequent Visitor

Filtering the Data using Inactive relationship

Hi All,
I have established an active relationship between two tables and arranged inactive relationships and written the measures using UseRelationship, even though the data is not being filtered out. 
Please help
Thanks,

Regards

Prema

2 REPLIES 2
pratyashasamal
Memorable Member
Memorable Member

Hi @PremaBoddeda ,

Please try to change the Cross filter direction from single to both in the active relationship if you want to use the inactive relationhip field as a slicer to filter data.

Thanks ,
Pratyasha Samal

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





To troubleshoot this issue, there are a few things to consider:

  1. Ensure that the inactive relationship is established correctly: Make sure that the fields used to create the inactive relationship match the data type, have the same name, and have a unique value for each record.

  2. Check the data modeling settings: Ensure that the "Single Active Relationship" option is not selected, so that multiple relationships can be used in a single calculation.

  3. Verify the measure used in the visual: Ensure that the measure used in the visual is using the inactive relationship, and not the active relationship. You can verify this by using the USERELATIONSHIP() DAX function in the measure and checking that it is using the correct relationship.

  4. Check the filter context: Ensure that the visual is not being filtered by another measure or a slicer that may be affecting the result.

  5. Review the data source: Finally, make sure that the data in the two tables being used for the inactive relationship is correct, and there are no missing or duplicate values.

By following these steps, you should be able to resolve the issue and filter the data correctly using an inactive relationship.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.