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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
zenmemo
Helper I
Helper I

Selecting values from Userelationship returns blank results

Hi Community,

 

I'm currently working with direct query and my current setup involves two tables. One active relationship between the Dates table and the Identified Dates and another inactive relationship between Dates and Closed Dates. My problem is with the latter...

 

Relationships.JPG

 

When I select values for the active relationship (Count by Identified Date) it returns the corresponding data set.

 

Counts and filter.JPG

 

For the inactive relationship, I was able to get the userelationship function working correctly in that it returns the correct values in my matrix table. My formula:

 

Count by Closed Date = CALCULATE([Count by Identified Date],
'Issues'[Status]="Closed",
USERELATIONSHIP('Issues'[Closed Date Clean],Dates[value]))

 

However, when I go and click on the values in my matrix table for the Count by Closed Date, it doesn't return the values in my corresponding table. I'm definitely missing something here and need help.

 

Thank you very much in advance.

 

Will

1 ACCEPTED SOLUTION

@zenmemo I think the cross filtering happens basis on the active relationship. That could be the reason why your table is blank when you click on [Count by Closed Date]

 

Here is a quick workaround. Add a dummy measure

 

Dummy = IF(OR([Count by Closed Date]<>BLANK(),[Count by Identified Date]<>BLANK()),1,BLANK())

 

Then add this into your table as a last column, it should now work. Here is the snapshot

 

Capture.PNG

 

You can download the powerbi file here

 

Hope it helps

View solution in original post

11 REPLIES 11
ChandeepChhabra
Impactful Individual
Impactful Individual

@zenmemo, Can you share your pbi file?

@zenmemo Sorry not able to download the file, the link retuns an error

Still gives an error, can you share the file via drop box or google drive

@zenmemo I think the cross filtering happens basis on the active relationship. That could be the reason why your table is blank when you click on [Count by Closed Date]

 

Here is a quick workaround. Add a dummy measure

 

Dummy = IF(OR([Count by Closed Date]<>BLANK(),[Count by Identified Date]<>BLANK()),1,BLANK())

 

Then add this into your table as a last column, it should now work. Here is the snapshot

 

Capture.PNG

 

You can download the powerbi file here

 

Hope it helps

wow. that's a quite clever workaround. Thanks @ChandeepChhabra!

Thanks @zenmemo, Glad it worked

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors