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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply

Summarize with multiple inactive relations and cross filtering visuals not working.

I am trying to summarize total items using inactive relations, which i am able to do separately using "userelationship" function. I have 3 inactive relations to different dimension tables. Everything looks great when I visualize them separately. The challenge is when cross-filtering the visuals, The filter doesn't flow to other Tables as they don't have active relations.

I tried using the below function which doesn't work. Even tried replacing Userelationship with "CrossFilter" which dint help.

 

 CALCULATE (
                [Total items],
                USERELATIONSHIP ( Date[Date], DataTable[CreatedDate] ),
                USERELATIONSHIP ( dimAging[OpenAge_Bucket], DataTable[Open_Age_Bucket]),
		USERELATIONSHIP (dimType[Open_type],DataTable[Open_type])
              )

 

 This is how my relationship looks:
RelationshipRelationship

Below is my challenge on getting cross-filtering working

Sabarikumar7579_0-1648664137966.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Sabarikumar7579 , The formula seems correct , Check createddate so not have any timestamp (Change datatype to datetime and use a format with date and check )

 

Try like

 

 

CALCULATE (CALCULATE (CALCULATE (
[Total items],
USERELATIONSHIP ( Date[Date], DataTable[CreatedDate] )),
USERELATIONSHIP ( dimAging[OpenAge_Bucket], DataTable[Open_Age_Bucket])),
USERELATIONSHIP (dimType[Open_type],DataTable[Open_type])
)

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2

Thank you !! @amitchandak 

 

Nested Calculate worked.

amitchandak
Super User
Super User

@Sabarikumar7579 , The formula seems correct , Check createddate so not have any timestamp (Change datatype to datetime and use a format with date and check )

 

Try like

 

 

CALCULATE (CALCULATE (CALCULATE (
[Total items],
USERELATIONSHIP ( Date[Date], DataTable[CreatedDate] )),
USERELATIONSHIP ( dimAging[OpenAge_Bucket], DataTable[Open_Age_Bucket])),
USERELATIONSHIP (dimType[Open_type],DataTable[Open_type])
)

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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