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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
michael_knight
Post Prodigy
Post Prodigy

Why isn't this USERELATIONSHIP measure working?

Hi,

 

Been trying to work this out and I'm struggling. Does anyone know why this measure isn't working? I feel like it's something plainly obvious 

 

 

Completions -  Count = SUM(Completions[Completions]) 
Completions - - Relationship = 
CALCULATE(Completions[Completions -  Count],
USERELATIONSHIP('Date'[Full Date], Completions[Date]) )

 

help 1.PNGhelp 3.PNG

 

I checked the Date type to make sure it's the same in both tables, it is. I checked the data type of the sum column. I checked the relationships. Is there anything I'm missing?

 

https://www.dropbox.com/s/ftn5q3g388azvn5/Completions%20-%20Copy.pbix?dl=0

 

Cheers,

Mike

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@michael_knight , I made it 1 to M from date to table and it worked

Find attached file after signature

Share with Power BI Enthusiasts: 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

4 REPLIES 4
AntrikshSharma
Super User
Super User

In additon to Amit's answer you don't need USERELATIONSHIP if you only have 1 relationship between tables.

Hi @AntrikshSharma 

 

This is only a small part of the dataset, there is another dataset which I removed for the purpose of getting some help, and due to gdpr.

 

Cheers,

Mike

amitchandak
Super User
Super User

@michael_knight , I made it 1 to M from date to table and it worked

Find attached file after signature

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Knew it would be something as simple as that. Cheers @amitchandak 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors